コード例 #1
0
 private void OnActionStatusUpdated(ICharacterActionState state, ActionStatus status)
 {
     if (status.HasFlag(ActionStatus.CanTransition) || status.HasFlag(ActionStatus.Completed))
     {
         FireReadyToChangeState(_onActionCompleteState);
     }
 }
コード例 #2
0
 private void OnActionStatusUpdated(ICharacterActionState state, ActionStatus status)
 {
     if (status.HasFlag(ActionStatus.Ready))
     {
         FireReadyToChangeState(_onActionReadyState);
     }
 }