The goal of the YieldReturn and the use of the Flip coroutine, is to keep the condition alive only for one frame after the condition has become true (instead of keeping it true until consumed on the next update loop). Please note that if you remove the Flip coroutine then the condition will only reset once it has been consumed (meaning that Check is called again). This might or might not be the desired behaviour (but it is the behaviour from day 1). Maybe I could add some option for that.
Having said that, I honestly don’t recommend using FixedUpdate as an update method for graphs (FixedUpdate is for physics) and the only reason I’ve added it in the inspector selection was due to a request (was it your request I can’t remember? 🙂 ). But please yes, let me know when you have and want to give some feedback (is always welcome 🙂 )
Thanks.
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.