Hi there, when I check the legacy Animation Component I can see that there is a currentTime attribute in which we set the current time position.
What is the equivalent of currentTime
for AnimComponent?
Hi there, when I check the legacy Animation Component I can see that there is a currentTime attribute in which we set the current time position.
What is the equivalent of currentTime
for AnimComponent?
An Anim component can have multiple layers. Each layer as a property for currentTime
TLDR, if you only have one layer:
this.entity.anim.baseLayer.activeStateCurrentTime
Thanks!