diff --git a/Assets/Scripts/Actions/AnimationAction.cs b/Assets/Scripts/Actions/AnimationAction.cs index 4cf89710..dedeaf82 100644 --- a/Assets/Scripts/Actions/AnimationAction.cs +++ b/Assets/Scripts/Actions/AnimationAction.cs @@ -83,6 +83,10 @@ namespace QFramework } anim[animName].speed = curSpeed; anim.Play(animName); + if (anim[animName].wrapMode== WrapMode.Loop) + { + this.Finish(); + } } } catch (Exception)