//播放技能动画 public override void UseTheSkill() { if (canUseTheSkill()) { OnUse(); thePlayer.theSkillNow = this; SearchAim(); theAnimatorController.PlayAnimation(playerAction.attack); } }
public override void UseTheSkill() { if (canUseTheSkill()) { theStateNow = skillState.isUsing; thePlayer.theSkillNow = this; if (theAnimatorController && !(moveOBJ.theMoveModeNow is flyMoveMode)) { theAnimatorController.PlayAnimation(playerAction.jump); } this.enabled = true; } else { UIController.GetInstance().ShowUI <messageBox> ("暂时无法使用此技能"); } }