void Start() { spawner = GameObject.Find("Survival_Spawner(Clone)").GetComponent <SurvivalModeSpawner>(); smashCam = GameController.instance.smashCam; spawnTimer = Time.time + spawnTime; }
void Start() { currentLevel = GameController.instance.game.level; smashCam = GameController.instance.smashCam; spawnTimer = Time.time + spawnTime; SpawnZombie(); }
public void Awake() { smashCam = Camera.main.GetComponent <SmashCam>(); }