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