// if (anim.GetCurrentAnimationClipState(0)[0].clip.name == "222")
// {
// anim.StopPlayback();
// Debug.Log("==== " + anim.GetCurrentAnimationClipState(0)[0].clip.length);
// }
// if(Time.frameCount % 50 == 0){
// anim.SetBool("Fuck",true);
// Debug.Log(anim.GetCurrentAnimationClipState(0).Length);
// Debug.Log("==== " + anim.GetCurrentAnimationClipState(0)[0].clip.length);
// }
Unity中获取新动画的时间
最新推荐文章于 2024-05-11 11:18:25 发布