Is this possible?
I have a base abstract state class that uses coroutines for Enter/Exit methods. It’s not strictly an FSM, but I found using coroutines made it easy to script outro/intro sequences between states.
However, in overriding those coroutines, some derived classes would be better returning from the coroutine in the same frame, like a standard method call.
Is there some way to treat a coroutine as polymorphically interchangeable between a yielding method and a basic method call?