C# Класс Foundation.Tasks.TaskManager

Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
IsApplicationQuit bool
PendingActions List
PendingAdd List
PendingCoroutineInfo List
PendingLogs List
PendingRemove List

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

Метод Описание
ConfirmInit ( ) : void

Confirms the instance is ready for use

Log ( LogCommand m ) : void

A thread safe logger

RunOnMainThread ( System.Action action ) : void

Schedules the action to run on the main thread

StartRoutine ( IEnumerator coroutine ) : Coroutine

Scheduled the routine to run (on the main thread)

StartRoutine ( CoroutineCommand info ) : void

Scheduled the routine to run (on the main thread)

StopRoutine ( IEnumerator coroutine ) : void

Scheduled the routine to run (on the main thread)

WaitForSeconds ( int seconds ) : Coroutine

Scheduled the routine to run (on the main thread)

Защищенные методы

Метод Описание
Awake ( ) : void
OnApplicationQuit ( ) : void
Update ( ) : void

Приватные методы

Метод Описание
RunCoroutineInfo ( CoroutineCommand info ) : IEnumerator
WaitForSecondsInternal ( int seconds ) : IEnumerator
Write ( LogCommand m ) : void

Описание методов

Awake() защищенный Метод

protected Awake ( ) : void
Результат void

ConfirmInit() публичный статический Метод

Confirms the instance is ready for use
public static ConfirmInit ( ) : void
Результат void

Log() публичный статический Метод

A thread safe logger
public static Log ( LogCommand m ) : void
m LogCommand
Результат void

OnApplicationQuit() защищенный Метод

protected OnApplicationQuit ( ) : void
Результат void

RunOnMainThread() публичный статический Метод

Schedules the action to run on the main thread
public static RunOnMainThread ( System.Action action ) : void
action System.Action
Результат void

StartRoutine() публичный статический Метод

Scheduled the routine to run (on the main thread)
public static StartRoutine ( IEnumerator coroutine ) : Coroutine
coroutine IEnumerator
Результат UnityEngine.Coroutine

StartRoutine() публичный статический Метод

Scheduled the routine to run (on the main thread)
public static StartRoutine ( CoroutineCommand info ) : void
info CoroutineCommand
Результат void

StopRoutine() публичный статический Метод

Scheduled the routine to run (on the main thread)
public static StopRoutine ( IEnumerator coroutine ) : void
coroutine IEnumerator
Результат void

Update() защищенный Метод

protected Update ( ) : void
Результат void

WaitForSeconds() публичный статический Метод

Scheduled the routine to run (on the main thread)
public static WaitForSeconds ( int seconds ) : Coroutine
seconds int
Результат UnityEngine.Coroutine

Описание свойств

IsApplicationQuit защищенное статическое свойство

protected static bool IsApplicationQuit
Результат bool

PendingActions защищенное статическое свойство

protected static List PendingActions
Результат List

PendingAdd защищенное статическое свойство

protected static List PendingAdd
Результат List

PendingCoroutineInfo защищенное статическое свойство

protected static List PendingCoroutineInfo
Результат List

PendingLogs защищенное статическое свойство

protected static List PendingLogs
Результат List

PendingRemove защищенное статическое свойство

protected static List PendingRemove
Результат List