ScriptReference/Playables.PlayableDirector-time #268
Replies: 1 comment
-
|
note: this value goes back to 0 after it finishes playing a Playable, even if its WrapMode (extrapolationMode) is set to "None"... to detect when a PlayableDirector is done playing, I do a little hack: playableDirector.Play();
playableDirector.time = 0.001;
...
if ( playableDirector.time <= 0 ) // director is finished |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ScriptReference/Playables.PlayableDirector-time
https://docs.unity3d.com/ScriptReference/Playables.PlayableDirector-time.html
Beta Was this translation helpful? Give feedback.
All reactions