// Use this for initialization void Start() { objectCount = objects.Length; obstacleCount = obstacles.Length; spawnStuffBlock = true; game = KasideGameManager.Instance; }
void Awake() { if (Instance == null) { Instance = this; } else if (Instance != this) { Destroy(gameObject); } }
void Start() { game = KasideGameManager.Instance; }