netpyoung / unity.webp

:art: WebP made easy for Unity3d
https://netpyoung.github.io/unity.webp/
MIT License
237 stars 28 forks source link

How to control animations #23

Closed dburongarcia closed 3 years ago

dburongarcia commented 4 years ago

Hello, I was wondering if there is any way to control animations easily. I'm checking example2 but I'm not sure if there is an easy way to access the texture list and pause, play, rewind or even apply tweens using something like DOTween. Thanks.

netpyoung commented 4 years ago

Hi. I provided example function

that function return List of (texture, timestamp). So You can combine your tween or logic with that function

netpyoung commented 3 years ago

please reopen this issue If you doesn't find a way to do