コード例 #1
0
 public void ChangeToIdle()
 {
     if (ControllerTool.SplitIsCity(this.GetAnimator()))
     {
         this.PreciseSetAction("idle_city");
     }
     else
     {
         this.PreciseSetAction("idle");
     }
 }
コード例 #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();
 }