private void Awake() { if (Instance == null) { Instance = this; } else { Destroy(gameObject); } m_CubeSpawner.SpawnStart(); }
private void Awake() { if (instance == null) { instance = this; } else { Destroy(gameObject); } cubespawner.SpawnStart(); }