1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
using UnityEngine; //Player AnimationHandler 记录当前动作状态编号 public class AnimationHandler : MonoBehaviour { /* 0 Stand 1 Sprint 2 Run 3 Jump */ public int animationState; private void Start() { } private void Update() { } }