static void CreateInstanceIfNeeded() { if (instance == null) { instance = new EditorCoroutines(); instance.Initialize(); } }
private static void CreateInstanceIfNeeded() { if (instance != null) { return; } instance = new EditorCoroutines(); instance.Initialize(); }
public void DoSomething(bool start, bool stop, bool stopAll) { if (start) { EditorCoroutines.StartCoroutine(Example(), this); } if (stop) { EditorCoroutines.StopCoroutine("Example", this); } if (stopAll) { EditorCoroutines.StopAllCoroutines(this); } }
public static EditorCoroutines.EditorCoroutine StartCoroutine(this EditorWindow thisRef, IEnumerator coroutine) { return(EditorCoroutines.StartCoroutine(coroutine, thisRef)); }
public static void StopAllCoroutines(this EditorWindow thisRef) { EditorCoroutines.StopAllCoroutines(thisRef); }
public static void StopCoroutine(this EditorWindow thisRef, string methodName) { EditorCoroutines.StopCoroutine(methodName, thisRef); }
public static void StopCoroutine(IEnumerator coroutine, object obj) { EditorCoroutines.StopCoroutine(coroutine, obj); }
public static void StopCoroutine(this EditorWindow thisRef, IEnumerator coroutine) { EditorCoroutines.StopCoroutine(coroutine, thisRef); }
public static EditorCoroutines.EditorCoroutine StartCoroutine(this EditorWindow thisRef, string methodName, object value) { return(EditorCoroutines.StartCoroutine(methodName, value, thisRef)); }
public static EditorCoroutines.EditorCoroutine StartCoroutine(IEnumerator coroutine, object obj) { return(EditorCoroutines.StartCoroutine(coroutine, obj)); }
private static EditorCoroutines.EditorCoroutine StartCoroutine(this EditorWindow thisRef, string methodName) { return(EditorCoroutines.StartCoroutine(methodName, thisRef)); }