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