C# 클래스 RedBlueGames.MulliganRenamer.EditorCoroutineUtility

파일 보기 프로젝트 열기: redbluegames/unity-mulligan-renamer 1 사용 예제들

공개 메소드들

메소드 설명
StartBackgroundTask ( IEnumerator update, Action onEnd = null ) : void

Starts a Coroutine using Unity Editor's update loop. This is useful for EditorWindows which aren't MonoBehaviours and therefore can't use Coroutines. Utility function adapted from https://forum.unity.com/threads/using-unitywebrequest-in-editor-tools.397466/#post-4485181

메소드 상세

StartBackgroundTask() 공개 정적인 메소드

Starts a Coroutine using Unity Editor's update loop. This is useful for EditorWindows which aren't MonoBehaviours and therefore can't use Coroutines. Utility function adapted from https://forum.unity.com/threads/using-unitywebrequest-in-editor-tools.397466/#post-4485181
public static StartBackgroundTask ( IEnumerator update, Action onEnd = null ) : void
update IEnumerator
onEnd Action
리턴 void