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