Exemple #1
0
 public void ChangeWeaponSlotWithoutChangePositionOver(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new ChangeWeaponSlotWithoutChangePositionOverCmd());
 }
Exemple #2
0
 public void LockFaceForward(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new LockFaceForwardCmd());
 }
Exemple #3
0
 public void ShowRoles(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new ShowRolesCmd());
 }
Exemple #4
0
 public void BornEnd(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new BornEndCmd());
 }
Exemple #5
0
 public void AllowChangeDirection(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new AllowChangeDirectionCmd());
 }
Exemple #6
0
 public void SkillBegin(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new SkillBeginCmd());
 }
Exemple #7
0
 public void DeactivePart(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new DeactivePartCmd
     {
         args = e
     });
 }
Exemple #8
0
 public void HideTexture(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new HideTextureCmd
     {
         textureNames = e.get_stringParameter()
     });
 }
Exemple #9
0
 public void audio2D(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new Audio2DEventCmd
     {
         args = e
     });
 }
Exemple #10
0
 public void ActionStraight(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new ActionStraightCmd
     {
         rate = e.get_floatParameter()
     });
 }
Exemple #11
0
 public void ColliderOff(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new IgnoreCollisionCmd
     {
         closeCollision = true
     });
 }
Exemple #12
0
 public void MoveOn(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new RootMotionCmd
     {
         rootMotion = true
     });
 }
Exemple #13
0
 public void Termination(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new SetTerminationCmd
     {
         actionName = e.get_stringParameter()
     });
 }
Exemple #14
0
 public void ChangeAI(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new ChangeAICmd
     {
         args = e
     });
 }
Exemple #15
0
 public void Traverse(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new TraverseCmd
     {
         className = e.get_stringParameter()
     });
 }
Exemple #16
0
 public void ChangeWeaponSlotWithoutChangePosition(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new ChangeWeaponSlotWithoutChangePositionCmd
     {
         slot_name = e.get_stringParameter()
     });
 }
Exemple #17
0
 public void Effect(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new SkillEffectCmd
     {
         args = e
     });
 }
Exemple #18
0
 public void OnActionEnd(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new AnimationEndCmd
     {
         actName = e.get_stringParameter()
     });
 }
Exemple #19
0
 public void RemoveSkill(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new RemoveSkillCmd
     {
         skillMessage = e.get_stringParameter()
     });
 }
Exemple #20
0
 public void PlaybackSpeed(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new PlaybackSpeedCmd
     {
         speed = e.get_floatParameter()
     });
 }
Exemple #21
0
 public void OnSlowMotionIntroduction(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new SlowMotionIntroductionCmd
     {
         time = e.get_intParameter()
     });
 }
Exemple #22
0
 public void UltraSkill(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new UltraSkillCmd
     {
         args = e.get_stringParameter()
     });
 }
Exemple #23
0
 public void JumpFollow(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new JumpFollowCmd
     {
         jumpFollow = e.get_intParameter()
     });
 }
Exemple #24
0
 public void PointBPriority(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new PointBPriorityCmd
     {
         number = e.get_intParameter()
     });
 }
Exemple #25
0
 public void ChangeSpeedOver(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new NotifyPropChangedCmd
     {
         propName  = "AnimFactor",
         propValue = 1f
     });
 }
Exemple #26
0
 public void ChangeHeightOver(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new NotifyPropChangedCmd
     {
         propName  = "ModelHeight",
         propValue = 0f
     });
 }
Exemple #27
0
 public void ChangeSpeed(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new NotifyPropChangedCmd
     {
         propName  = "AnimFactor",
         propValue = e.get_floatParameter(),
         propTag   = e.get_stringParameter()
     });
 }
Exemple #28
0
 public void CameraPosition(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     string[] array = e.get_stringParameter().Split(new char[]
     {
         ';'
     });
     if (array.Length < 2)
     {
         Debug.LogError("CameraPosition=参数少于2个");
     }
     CommandCenter.ExecuteCommand(this.root, new CameraPositionCmd
     {
         distance = float.Parse(array[0]),
         height   = float.Parse(array[1])
     });
 }