Example #1
0
    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();
    }
Example #3
0
 public void Awake()
 {
     smashCam = Camera.main.GetComponent <SmashCam>();
 }