Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

[Released] Editor Coroutines

Discussion in 'Assets and Asset Store' started by marijnz, Jan 7, 2015.

  1. marijnz

    marijnz

    Joined:
    Sep 20, 2012
    Posts:
    57
    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.




    editorcoroutines.gif


    Of course I'm happy to receive feedback if you have any. ;)
     

    Attached Files:

    Last edited: Jan 9, 2015
    MD_Reptile and Jaroslav-Stehlik like this.
  2. marijnz

    marijnz

    Joined:
    Sep 20, 2012
    Posts:
    57
    If there are any suggestions for additional functionality, I'm eager to hear so!
     
  3. Hovu96

    Hovu96

    Joined:
    Sep 28, 2012
    Posts:
    1
    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?
     
  4. peteradvr

    peteradvr

    Joined:
    Dec 22, 2016
    Posts:
    11
    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.
     
  5. marijnz

    marijnz

    Joined:
    Sep 20, 2012
    Posts:
    57
    Stexe likes this.
  6. LeonardoSilvaDF

    LeonardoSilvaDF

    Joined:
    May 8, 2018
    Posts:
    1
    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.
     
  7. marijnz

    marijnz

    Joined:
    Sep 20, 2012
    Posts:
    57
    Thanks a lot! Hope it serves you well.
     
unityunity