C# Класс RedBlueGames.MulliganRenamer.EditorCoroutineUtility

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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