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