I often use coroutines just for delaying a function til the next frame or delay it by 1 sec. But I’ll have to place a block of IEnumerator into the script, impairing its readability (i know you can hide and collapse it).
So is there a shorthand code ofor such IEnumertor/coroutines?
Like instead of “StartCoroutine(MyIEnum()) + wrapping MyFunc inside MyEnum;”, you write “MyFunc(WaitForSeconds(5f));”