yuyang9119 / UnityAssetStoreSupport

If you run into any issues using my assets, please submit feedback here.
4 stars 0 forks source link

i set a animation when i close a window, but it run at same time when the window open, how can i setup it? #25

Open richenberg opened 2 years ago

richenberg commented 2 years ago

i set a animation when i close a window, but it run at same time when the window open, how can i setup it?

richenberg commented 2 years ago

I managed to make it work but now it only play the first time

image

yuyang9119 commented 2 years ago

You should change Wrap Mode to Loop or Ping Pong to reset progress or direction of the Tween Player, then it will play again. Or you can set normalizedTime or playDirection via script before replaying it. Note: Arrived Action should set to Always Stop if you want the Tween Player auto-stop on arrived at start or end position.

richenberg commented 2 years ago

If iswt to loop or ping pong it keep closing and opening without i oress the buttonEm 5 de out. de 2022 15:05, yuyang @.***> escreveu: You should change Wrap Mode to Loop or Ping Pong to reset progress or direction of the Tween Player, then it will play again. Or you can set normalizedTime or playDirection via script before replaying it.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>