很遗憾地说,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.