I am creating a respawn timer, and for whatever reason at the yield the script stops. Any thoughts would help. Sorry format is terrible i don’t know how to do it the better way.
Destroy does not occur immediately. The function will generally continue to completion and then the gameObject gets destroyed sometime before the frame is drawn. There also exists DestroyImmediate() though it is generally not recommended for use.