TriLib  1.8.7f
TriLib Unity Package
TriLib.Dispatcher Class Reference

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

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: