• Bugs
  • [UNITY] skeletonAnimation.state.time

skeletonAnimation.state.time does not work anymore. I Downloaded latest runtimes and now it wont work.

ERROR:
Spine.AnimationState' does not contain a definition for time' and no extension methodtime' of type Spine.AnimationState' could be found

Related Discussions
...
  • Изменено

the equivalent is now:

skeletonAnimation.state.GetCurrent(0).Time

Most of the fields and properties you want from AnimationState are now a hop farther than before. You should check AnimationState.cs to see where the stuff are now.

Pharan написал

the equivalent is now:

skeletonAnimation.state.GetCurrent(0).Time

Most of the fields and properties you want from AnimationState are now a hop farther than before. You should check AnimationState.cs to see where the stuff are now.

Thanks! 😃