Skip to content

Adding Time.time to ConditionRepeat timeLastEventFired variable that it works well#39

Open
jjmiranda wants to merge 1 commit intoUnity-Technologies:masterfrom
jjmiranda:master
Open

Adding Time.time to ConditionRepeat timeLastEventFired variable that it works well#39
jjmiranda wants to merge 1 commit intoUnity-Technologies:masterfrom
jjmiranda:master

Conversation

@jjmiranda
Copy link

If you have ConditionRepeat instantiated for other objects or you have multiples scenes in your game, ConditionRepeat executes immediately and not consider initial Delay because it has already passed.
Adding Time.time in the Start event solve this problem :)
Best regards and congrats for this wonderful package!

JJMiranda
Professor at Universidad de Lima - Perú

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

Successfully merging this pull request may close these issues.

1 participant