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