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