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