Example #1
0
 public static Coroutine Execute( IEnumerator routine )
 {
     if( !Instance ){
         var go = new GameObject( "EditorCoroutine" );
         Instance = go.AddComponent< EditorCoroutine >();
     }
     return Instance.StartCoroutine( routine );
 }
Example #2
0
 private void Awake()
 {
     Instance = this;
 }