mTaskScheduler

Summary

Task management class Used when you want to execute IEnumerator's coroutine from a class that is not a Monobehaviour or another thread

Property

Instance Task management class Used when you want to execute IEnumerator's coroutine from a class that is not a Monobehaviour or another thread
mainThreadContext Gets the main thread context.
MainTasks Main thread tasks
MainPrimaryTasks Primary Main thread tasks
WorkerTasks Worker thread tasks
UnduplicateTasks Unduplicate tasks
MainAnimationTasks Animation thread tasks

Method

Init( ) Initialization of Task Scheduler
Remove(mTask) Removes the specified task.
AddWorkerThread(System.Collections.IEnumerator,System.Action) Add task to main thread
AddMainThread(System.Collections.IEnumerator,UnityEngine.GameObject,System.Action) Run in Update
AddMainThreadPrimary(System.Collections.IEnumerator,UnityEngine.GameObject,System.Action) Add task to main thread ( For primary task )
ClearMainThread( ) Clear main thread tasks
AddAnimationThread(System.Collections.IEnumerator,UnityEngine.GameObject,System.Action) Add task to main thread ( For animation task )
AddUnduplicateTask(System.Int32,System.Collections.IEnumerator,UnityEngine.GameObject,System.Action,System.Boolean) Add task to main thread ( for unduplicate task )
ClearUnduplicateTask(System.Int32) Clears the unduplicate task.
RunInOtherThread(System.Action) Run in other thread Unity part function can not be used because it runs completely in another thread
RunInOtherThread(System.Func{System.Threading.Tasks.Task}) Run in other thread Unity part function can not be used because it runs completely in another thread
RunInOtherThread(System.Action,System.Action) Run in other thread Unity part function can not be used because it runs completely in another thread
RunInOtherThread(System.Func{System.Threading.Tasks.Task},System.Action) Run in other thread Unity part function can not be used because it runs completely in another thread
RunInOtherThread(System.Action,System.Func{System.Threading.Tasks.Task}) Run in other thread Unity part function can not be used because it runs completely in another thread
RunInOtherThread(System.Func{System.Threading.Tasks.Task},System.Func{System.Threading.Tasks.Task}) Run in other thread Unity part function can not be used because it runs completely in another thread
RunInMainThread(System.Action) Runs the in main thread.
Clear( ) Clear all tasks
Dispose( ) Dispose scheduler

Reference