void Start() { currWave = 0; _enemiesSpawned = 0; _manager = managerObj.GetComponent <gManager>(); _lastSpawn = Time.time; }
void Start() { _health = GetComponent <enemyHealth>(); _manager = managerObject.GetComponent <gManager>(); _waypoints = GameObject.FindGameObjectWithTag("Waypoints").transform; NextWaypoint(); }
void MakeInstance() { if (instance == null) { instance = this; } }
void Start() { _health = 0; _manager = GameObject.Find("GameManager").GetComponent <gManager>(); }
// private UpLevel _currLvl; void Start() { _manager = managerObj.GetComponent <gManager>(); _canInstantiate = true; }