通过获取层级动画判断是否正在播放
注意:名字是动画状态机的动画名字 而不是条件参数名字
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMove : MonoBehaviour
{
//动画
private Animator ani;
通过获取层级动画判断是否正在播放
注意:名字是动画状态机的动画名字 而不是条件参数名字
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMove : MonoBehaviour
{
//动画
private Animator ani;