Targeting System 2.0.0
Plugin for multipurpose targeting and visual effects.
UniRx.MainThreadDispatcher Class Reference
Inheritance diagram for UniRx.MainThreadDispatcher:

Public Types

enum  CullingMode { Disabled , Self , All }
 

Static Public Member Functions

static void Post (Action< object > action, object state)
 Dispatch Asyncrhonous action.
 
static void Send (Action< object > action, object state)
 Dispatch Synchronous action if possible.
 
static void UnsafeSend (Action action)
 Run Synchronous action.
 
static void UnsafeSend< T > (Action< T > action, T state)
 Run Synchronous action.
 
static void SendStartCoroutine (IEnumerator routine)
 ThreadSafe StartCoroutine.
 
static void StartUpdateMicroCoroutine (IEnumerator routine)
 
static void StartFixedUpdateMicroCoroutine (IEnumerator routine)
 
static void StartEndOfFrameMicroCoroutine (IEnumerator routine)
 
new static Coroutine StartCoroutine (IEnumerator routine)
 
static void RegisterUnhandledExceptionCallback (Action< Exception > exceptionCallback)
 
static void Initialize ()
 
static void CullAllExcessDispatchers ()
 
static IObservable< UnitUpdateAsObservable ()
 
static IObservable< UnitLateUpdateAsObservable ()
 
static IObservable< bool > OnApplicationFocusAsObservable ()
 
static IObservable< bool > OnApplicationPauseAsObservable ()
 
static IObservable< UnitOnApplicationQuitAsObservable ()
 

Static Public Attributes

static CullingMode cullingMode = CullingMode.Self
 

Properties

static string InstanceName [get]
 
static bool IsInitialized [get]
 
static bool IsInMainThread [get]
 

Member Enumeration Documentation

◆ CullingMode

Enumerator
Disabled 

Won't remove any MainThreadDispatchers.

Self 

Checks if there is an existing MainThreadDispatcher on Awake(). If so, the new dispatcher removes itself.

All 

Search for excess MainThreadDispatchers and removes them all on Awake().


The documentation for this class was generated from the following file: