| | |
| | | public Action OnHitAnimationComplete; |
| | | private List<Action> runningActions = new List<Action>(); |
| | | |
| | | protected SkeletonAnimation skeletonAnim; |
| | | public SkeletonAnimation skeletonAnim; |
| | | protected Spine.AnimationState animState; |
| | | protected Spine.Skeleton skeleton; |
| | | protected float defaultMixDuration = 0f; |
| | |
| | | if (hasAnim) |
| | | { |
| | | if (currentTrack != skillTrack) |
| | | { |
| | | Debug.LogError("技能动画被打断,强制结束 " + skillConfig.SkillID); |
| | | skillBase.ForceFinished(); |
| | | RemoveAction(frameHandler); |
| | | playingSkillAnim = false; |
| | | return; |
| | | } |
| | | |
| | | if (skillTrack.TrackTime == 0) failCount++; |
| | | if (failCount > 100) |