937893460

你好 我想知道在unity中可以查看spine动画的帧数吗
Hello, I would like to know if you can view the frame number of spine animations in unity
937893460
  • Сообщения: 2

Harald

很遗憾地说,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.
Аватара пользователя
Harald

Harri
  • Сообщения: 1105

937893460

thank you
937893460
  • Сообщения: 2

Harald

You're welcome. :)
Аватара пользователя
Harald

Harri
  • Сообщения: 1105


Вернуться в 中国Spine用户