Alternative implementation of the Editor Coroutines from Unity. Use it if you do not want to handle this kind of issues. This version also might be easier to modify for your needs (at least in my opinion).
Supports all standard features
- WaitForSeconds
- WaitOperation
- nested coroutines
Start Coroutine that way:
LiteEditorCoroutine.Start(enumerator);
or that way
LiteEditorCoroutine.Start(enumerator, this); // where 'this' might be EditorWindow which is used to detect when to stop the coroutine upon shutdown
you can also later stop coroutine by calling
coroutine.Stop();
You can just copy-paste LiteEditorCoroutine.cs to your project in any Editor folder.
Feel free to report bugs, request new features or to contribute to this project!
- To analyze the whole project for various issues Unity-Scanner.
- To find unreferenced assets in Unity project see Dependencies-Hunter.
- To analyze addressables layout Addressables-Inspector.
- To find missing or empty references in your assets see Missing-References-Hunter.
- To analyze your textures and atlases see Textures-Hunter.
- To analyze your materials and renderers see Materials-Hunter.
- To analyze asset dependencies Asset-Inspector.