using System.Collections; using System.Collections.Generic; using UnityEngine; public class Wolf : MonoBehaviour { AnimationPlayer animationPlayer; void Start() { animationPlayer = this.GetComponent(); animationPlayer.play(0, WrapMode.Loop); } // Update is called once per frame void Update() { } }