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