Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Corrutine in EditorWindow

Discussion in 'Scripting' started by deodatopr, Feb 21, 2015.

  1. deodatopr

    deodatopr

    Joined:
    Sep 27, 2010
    Posts:
    26
    Someone know how to use a "Corrutine in a EditorWindow" instead if MonoBehaviour?

    Thanks,
    Deo.
     
  2. Kona

    Kona

    Joined:
    Oct 13, 2010
    Posts:
    208
    Coroutines aren't available in the editor if I'm not mistaken. You'll have to use either OnGUI or SceneView.onSceneGUIDelegate I believe.
     
  3. deodatopr

    deodatopr

    Joined:
    Sep 27, 2010
    Posts:
    26
    Oh, I understand...well anyway thank you so much to share it to me :)

    Deo
     
  4. Kona

    Kona

    Joined:
    Oct 13, 2010
    Posts:
    208
    You're welcome. ^^ I hope you get it to work even torghandel coroutines don't