C# Class Foundation.Tasks.TaskManager

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: NVentimiglia/Unity3d-Foundation Class Usage Examples

Protected Properties

Свойство Type Description
IsApplicationQuit bool
PendingActions List
PendingAdd List
PendingCoroutineInfo List
PendingLogs List
PendingRemove List

Méthodes publiques

Méthode Description
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)

Méthodes protégées

Méthode Description
Awake ( ) : void
OnApplicationQuit ( ) : void
Update ( ) : void

Private Methods

Méthode Description
RunCoroutineInfo ( CoroutineCommand info ) : IEnumerator
WaitForSecondsInternal ( int seconds ) : IEnumerator
Write ( LogCommand m ) : void

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

ConfirmInit() public static méthode

Confirms the instance is ready for use
public static ConfirmInit ( ) : void
Résultat void

Log() public static méthode

A thread safe logger
public static Log ( LogCommand m ) : void
m LogCommand
Résultat void

OnApplicationQuit() protected méthode

protected OnApplicationQuit ( ) : void
Résultat void

RunOnMainThread() public static méthode

Schedules the action to run on the main thread
public static RunOnMainThread ( System.Action action ) : void
action System.Action
Résultat void

StartRoutine() public static méthode

Scheduled the routine to run (on the main thread)
public static StartRoutine ( IEnumerator coroutine ) : Coroutine
coroutine IEnumerator
Résultat UnityEngine.Coroutine

StartRoutine() public static méthode

Scheduled the routine to run (on the main thread)
public static StartRoutine ( CoroutineCommand info ) : void
info CoroutineCommand
Résultat void

StopRoutine() public static méthode

Scheduled the routine to run (on the main thread)
public static StopRoutine ( IEnumerator coroutine ) : void
coroutine IEnumerator
Résultat void

Update() protected méthode

protected Update ( ) : void
Résultat void

WaitForSeconds() public static méthode

Scheduled the routine to run (on the main thread)
public static WaitForSeconds ( int seconds ) : Coroutine
seconds int
Résultat UnityEngine.Coroutine

Property Details

IsApplicationQuit protected_oe static_oe property

protected static bool IsApplicationQuit
Résultat bool

PendingActions protected_oe static_oe property

protected static List PendingActions
Résultat List

PendingAdd protected_oe static_oe property

protected static List PendingAdd
Résultat List

PendingCoroutineInfo protected_oe static_oe property

protected static List PendingCoroutineInfo
Résultat List

PendingLogs protected_oe static_oe property

protected static List PendingLogs
Résultat List

PendingRemove protected_oe static_oe property

protected static List PendingRemove
Résultat List