TriLib  1.9.0
TriLib Unity Package
TriLib.Dispatcher Class Reference

Represents a system for dispatching code to execute on the main thread. More...

Inheritance diagram for TriLib.Dispatcher:

Static Public Member Functions

static void CheckInstance ()
 Checks if there is any instance. More...
 
static void InvokeAsync (Action action)
 Queues an action to be invoked on the main game thread. More...
 

Detailed Description

Represents a system for dispatching code to execute on the main thread.

Member Function Documentation

◆ CheckInstance()

static void TriLib.Dispatcher.CheckInstance ( )
static

Checks if there is any instance.

◆ InvokeAsync()

static void TriLib.Dispatcher.InvokeAsync ( Action  action)
static

Queues an action to be invoked on the main game thread.

Parameters
actionThe action to be queued.

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