// Use this for initialization private void Start() { //controller = GetComponent<CharacterController>(); player = globalController.getPlayer(); p_player = player.gameObject; coroutine = WaitAndShoot(2.0f); StartCoroutine(coroutine); }
// Use this for initialization private void Start() { //controller = GetComponent<CharacterController>(); player = globalController.getPlayer(); _player = player.gameObject; }