Exemplo n.º 1
0
 public void ChangeToIdle()
 {
     if (ControllerTool.SplitIsCity(this.GetAnimator()))
     {
         this.PreciseSetAction("idle_city");
     }
     else
     {
         this.PreciseSetAction("idle");
     }
 }
Exemplo n.º 2
0
 protected void OnUIAnimationEnd(AnimationEndCmd cmd)
 {
     if (XUtility.StartsWith(cmd.actName, "idle") || XUtility.StartsWith(cmd.actName, "die"))
     {
         this.DoUIDisplaySkillEnd();
         return;
     }
     this.ResetAll();
     this.RemoveFxs();
     if (ControllerTool.SplitIsCity(this.GetAnimator()))
     {
         this.PreciseSetAction("idle_city");
     }
     else
     {
         this.PreciseSetAction("idle");
     }
     this.DoUIDisplaySkillEnd();
 }