📜  统一检测动画是否正在播放 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:26.388000             🧑  作者: Mango

代码示例1
if(this.GetComponent().GetCurrentAnimatorStateInfo(0).normalizedTime >= 1)
{
    //Do something when animator isn't playing
{