Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events don't fire when using Manual UpdateMethod #12

Open
GinoF opened this issue Nov 30, 2018 · 1 comment
Open

Events don't fire when using Manual UpdateMethod #12

GinoF opened this issue Nov 30, 2018 · 1 comment

Comments

@GinoF
Copy link

GinoF commented Nov 30, 2018

Events don't fire when PlayableDirector's UpdateMethod is set to Manual.
I previously had the events firing properly. I then added a playback speed modifier, and couldn't figure out why the were no longer firing.
Setting UpdateMethod back to GameTime fixed the issue.

I haven't dug into your code to figure out why this is the case, but I'd figure I'd report the issue.

P.S. Keep up the good work, this is super handy!

@GinoF
Copy link
Author

GinoF commented Nov 30, 2018

I've put in a temp fix in the prototype I'm working on, not sure if this will have any major negative effects, but it'll do for my purposes.

I've edited TimelineEventBehaviour.OnBehaviourPlay
I've just removed the following if statement:
if ((info.frameId == 0) || (info.deltaTime > 0))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant