//Add this object to enemiesSpawned List void Start() { GameManager.instance.enemiesSpawned.Add(this.gameObject); shootLaser = GetComponent <ShootLaser> (); }
void Start() { // When object is constructed set it's position to the designer defined startPosition transform.position = playerStartPosition; shootLaser = GetComponent <ShootLaser> (); }