I have a function that has a yield in it that needs to run if boolean = true. I know yields do not work in update, so how do I do it?
you can’t make Update as Coroutine, but you can start
Update() { if (myBool) { StartCoroutine(CoroutnieMethod(params)); myBool = false } }
it in Update(). be aware about running Coroutines every frame 8)