public void ChangeToIdle() { if (ControllerTool.SplitIsCity(this.GetAnimator())) { this.PreciseSetAction("idle_city"); } else { this.PreciseSetAction("idle"); } }
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(); }