Beispiel #1
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.Animations.AnimatorControllerPlayable o;
         o = new UnityEngine.Animations.AnimatorControllerPlayable();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #2
0
 public override void OnStateUpdate(Animator animator, AnimatorStateInfo stateInfo, int layerIndex, UnityEngine.Animations.AnimatorControllerPlayable controller)
 {
     player = AI.GetPlayer();
     if (player == null)
     {
         return;
     }
 }
 override public void OnStateMachineExit(Animator animator, int stateMachinePathHash, UnityEngine.Animations.AnimatorControllerPlayable controller)
 {
     player.ResetAttackTriggers();
 }