void Awake()
 {
     _cam = Camera.main;
     _characterController = GetComponent <CharacterController>();
     _follower            = GetComponent <BirdFollower>();
     ConstructStateMachine();
 }
예제 #2
0
 public Handle(BirdFollower follower, int targetIndex) =>
 (_follower, _targetIndex) = (follower, targetIndex);