Beispiel #1
0
 public void ChangeWeaponSlotWithoutChangePositionOver(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new ChangeWeaponSlotWithoutChangePositionOverCmd());
 }
Beispiel #2
0
 public void LockFaceForward(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new LockFaceForwardCmd());
 }
Beispiel #3
0
 public void ShowRoles(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new ShowRolesCmd());
 }
Beispiel #4
0
 public void BornEnd(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new BornEndCmd());
 }
Beispiel #5
0
 public void AllowChangeDirection(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new AllowChangeDirectionCmd());
 }
Beispiel #6
0
 public void SkillBegin(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new SkillBeginCmd());
 }
Beispiel #7
0
 public void DeactivePart(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new DeactivePartCmd
     {
         args = e
     });
 }
Beispiel #8
0
 public void HideTexture(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new HideTextureCmd
     {
         textureNames = e.get_stringParameter()
     });
 }
Beispiel #9
0
 public void audio2D(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new Audio2DEventCmd
     {
         args = e
     });
 }
Beispiel #10
0
 public void ActionStraight(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new ActionStraightCmd
     {
         rate = e.get_floatParameter()
     });
 }
Beispiel #11
0
 public void ColliderOff(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new IgnoreCollisionCmd
     {
         closeCollision = true
     });
 }
Beispiel #12
0
 public void MoveOn(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new RootMotionCmd
     {
         rootMotion = true
     });
 }
Beispiel #13
0
 public void Termination(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new SetTerminationCmd
     {
         actionName = e.get_stringParameter()
     });
 }
Beispiel #14
0
 public void ChangeAI(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new ChangeAICmd
     {
         args = e
     });
 }
Beispiel #15
0
 public void Traverse(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new TraverseCmd
     {
         className = e.get_stringParameter()
     });
 }
Beispiel #16
0
 public void ChangeWeaponSlotWithoutChangePosition(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new ChangeWeaponSlotWithoutChangePositionCmd
     {
         slot_name = e.get_stringParameter()
     });
 }
Beispiel #17
0
 public void Effect(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new SkillEffectCmd
     {
         args = e
     });
 }
Beispiel #18
0
 public void OnActionEnd(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new AnimationEndCmd
     {
         actName = e.get_stringParameter()
     });
 }
Beispiel #19
0
 public void RemoveSkill(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new RemoveSkillCmd
     {
         skillMessage = e.get_stringParameter()
     });
 }
Beispiel #20
0
 public void PlaybackSpeed(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new PlaybackSpeedCmd
     {
         speed = e.get_floatParameter()
     });
 }
Beispiel #21
0
 public void OnSlowMotionIntroduction(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new SlowMotionIntroductionCmd
     {
         time = e.get_intParameter()
     });
 }
Beispiel #22
0
 public void UltraSkill(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new UltraSkillCmd
     {
         args = e.get_stringParameter()
     });
 }
Beispiel #23
0
 public void JumpFollow(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new JumpFollowCmd
     {
         jumpFollow = e.get_intParameter()
     });
 }
Beispiel #24
0
 public void PointBPriority(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new PointBPriorityCmd
     {
         number = e.get_intParameter()
     });
 }
Beispiel #25
0
 public void ChangeSpeedOver(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new NotifyPropChangedCmd
     {
         propName  = "AnimFactor",
         propValue = 1f
     });
 }
Beispiel #26
0
 public void ChangeHeightOver(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new NotifyPropChangedCmd
     {
         propName  = "ModelHeight",
         propValue = 0f
     });
 }
Beispiel #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()
     });
 }
Beispiel #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])
     });
 }