コード例 #1
0
 public static bool ActiveIK(ThirdPersonAction action, ThirdPersonPosture posture,
                             ThirdPersonPosture nextPosture, ThirdPersonMovement movement)
 {
     return(action == ThirdPersonAction.EndOfTheWorld &&
            !IKFilter.IsInThirdPersonPostureFilters(posture) &&
            !IKFilter.IsInThirdPersonPostureFilters(nextPosture) &&
            movement != ThirdPersonMovement.Sprint);
 }
コード例 #2
0
 public static bool ActiveIK(ThirdPersonAction action, ThirdPersonPosture posture)
 {
     return((action == ThirdPersonAction.EndOfTheWorld) &&
            !IKFilter.IsInThirdPersonPostureFilters(posture));
 }