void Start()
 {
     waveManager = GameObject.FindObjectOfType <Wave_Manager>();
     shooting    = false;
     StartCoroutine(Shoot());
     pool = Object_Pool.Instance;
 }
Exemplo n.º 2
0
 private void Start()
 {
     waveManager = GetComponent <Wave_Manager>();
 }
Exemplo n.º 3
0
 private void Start()
 {
     manager        = FindObjectOfType <Wave_Manager>();
     targetLocation = GameObject.FindGameObjectWithTag("Enemy_Target").transform.position;
     deathTimer     = 3f;
 }