Exemplo n.º 1
0
 static void CreateInstanceIfNeeded()
 {
     if (instance == null)
     {
         instance = new EditorCoroutines();
         instance.Initialize();
     }
 }
Exemplo n.º 2
0
 public static EditorCoroutines.EditorCoroutine StartCoroutine(this EditorWindow thisRef, IEnumerator coroutine)
 {
     return(EditorCoroutines.StartCoroutine(coroutine, thisRef));
 }
Exemplo n.º 3
0
 public static void StopAllCoroutines(this EditorWindow thisRef)
 {
     EditorCoroutines.StopAllCoroutines(thisRef);
 }
Exemplo n.º 4
0
 public static void StopCoroutine(this EditorWindow thisRef, string methodName)
 {
     EditorCoroutines.StopCoroutine(methodName, thisRef);
 }
Exemplo n.º 5
0
 public static void StopCoroutine(this EditorWindow thisRef, IEnumerator coroutine)
 {
     EditorCoroutines.StopCoroutine(coroutine, thisRef);
 }
Exemplo n.º 6
0
 public static EditorCoroutines.EditorCoroutine StartCoroutine(this EditorWindow thisRef, string methodName, object value)
 {
     return(EditorCoroutines.StartCoroutine(methodName, value, thisRef));
 }