Exemple #1
0
 //--- Unity Methods ---//
 private void Awake()
 {
     // Init the private variables
     m_spawnedEnemies     = new List <GameObject>();
     m_waveList           = FindObjectOfType <Wave_List>();
     m_timeSinceLastSpawn = 0.0f;
     m_isStillSpawning    = false;
 }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     waveList = FindObjectOfType <Wave_List>();
     display  = gameObject.GetComponent <TextMeshProUGUI>();
 }