public void _excute() { for (int i = 0; i < avatar_parts.Count; i++) { _base_avater.ReplaceAvatar(avatar_parts[i].part, avatar_parts[i].pfb_go); } _base_avater.ResetAvatar(); Animation anim = _base_avater.GetSkeleton().GetComponent <Animation>(); AnimationClip anim_clip = anim.GetClip("walk"); anim_clip.wrapMode = WrapMode.Loop; anim.wrapMode = WrapMode.Loop; anim.Play(anim_clip.name); }