[Released] Editor Coroutines

For those of you who have ever worked with Editor code, probably experienced the moment where you want to use a convenience of Unity’s coroutines, discovering this isn’t supported!
Use Editor Coroutines to simply overcome this limitation.

It supports all of the functionality of Unity’s default coroutines, but now in the Editor code, without any extra effort other than importing the plugin. Think of functionality like StartCoroutine, StopCoroutine and StopAllCoroutines. But also all of the yield statements, such as WaitForSeconds and WWW support.

Asset Store: Editor Coroutines (5$)

1912085--123340--editorcoroutines.gif

Of course I’m happy to receive feedback if you have any. :wink:

2 Likes

If there are any suggestions for additional functionality, I’m eager to hear so!

I just purchased the Editor Coroutines and realised that it doesn’t support yielding standard Unity coroutines.

Is there anything I can do to make this work?

Did support for this break in Unity 5.5?
I’m getting a null exception a few level into your StartCoroutine implimentation but before the first line of code in my IEnumerator function gets called.

Hey. I recently put the project on Github, it now also supports yielding on coroutines (so nested coroutines) GitHub - marijnz/unity-editor-coroutines: Coroutines for Editor scripts, just like regular coroutines.

1 Like

Excellent work!
I am using it on a HEAVY loaded work (doing stuff with bundles that takes more than hours), so i can have flux control, whether to cancel, etc.

Thanks a lot! Hope it serves you well.