메소드 | 설명 | |
---|---|---|
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
|
public static StartBackgroundTask ( IEnumerator update, Action onEnd = null ) : void | ||
update | IEnumerator | |
onEnd | Action | |
리턴 | void |