Example #1
0
        public void OnSpawnButton()
        {
            //if(FPSControl.IsOn()) return;

            storyObj.SetActive(false);

            storyAudio.Stop();

            timerDuration = 0;

            ResourceManager.AddScore(SpawnManager.GetCurrentWaveScore());

            SpawnManager.Spawn();
            buttonSpawn.rootObj.SetActive(false);

            buttonSpawn.label.text = "Next Wave";
        }