Exemplo n.º 1
0
 void Update()
 {
             #if UNITY_EDITOR
     if (Input.GetMouseButtonDown(2))
     {
         following = !following;
         BlueCharacterConsts.onFollow(following);
     }
             #endif
 }
Exemplo n.º 2
0
 public void StopFollowing()
 {
     //state = CharacterState.idle;
     following = false;
     BlueCharacterConsts.onFollow(following);
 }
Exemplo n.º 3
0
 public void StartFollowing()
 {
     //state = CharacterState.patrol;
     following = true;
     BlueCharacterConsts.onFollow(following);
 }