Merge branch 'HDRP'
commit
beb292c998
|
@ -42,7 +42,7 @@ public class GamePanel : MonoBehaviour
|
||||||
private void OnSwitchComponent(ComponentConfig componentConfig, int componentIndex)
|
private void OnSwitchComponent(ComponentConfig componentConfig, int componentIndex)
|
||||||
{
|
{
|
||||||
Debug.Log("OnSwitchComponent");
|
Debug.Log("OnSwitchComponent");
|
||||||
if (spawnedTypewriters == null || this.componentConfigName == null)
|
if (spawnedTypewriters == null || this.componentConfigName == null || componentConfig.组件描述.IsNullOrEmpty())
|
||||||
return;
|
return;
|
||||||
if (!spawnedTypewriters.TryGetValue(this.componentConfigName, out var typewriter))
|
if (!spawnedTypewriters.TryGetValue(this.componentConfigName, out var typewriter))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue