- 수정됨
Spine动画在unity查看帧数
你好 我想知道在unity中可以查看spine动画的帧数吗
Hello, I would like to know if you can view the frame number of spine animations in unity
很遗憾地说,spine-unity中没有可用的帧号显示。
We are sorry to say that there is no frame number display available in spine-unity.
您可以构建自己的帧号显示或使用以下行通过控制台打印它:
You could build your own frame number display or print it via the console using the following lines:
var trackEntry = skeletonAnimation.AnimationState.SetAnimation(0, "your animation", true);
float frame = trackEntry.TrackTime * 30; // 30 means the default 30 frames per second dopesheet. Not render framerate.
thank you
You're welcome.