void Awake()
 {
     stickSpawner  = this;
     HasWaveEnded  = true;
     _manager      = FindObjectOfType <GameManager>();
     roundNumCount = 0;
     PlayerPrefs.SetInt(RoundCountKey, roundNumCount);
     PlayerPrefs.SetFloat("CurrentPosition", 0);
     //SpawnStick();
 }
Example #2
0
    void Awake()
    {
        _stickSpawner = FindObjectOfType <StickSpawner>();

        StartCoroutine(ShowText());
    }