TriLib  1.9.0
TriLib Unity Package
TriLib.ThreadUtils Class Reference

Contains Thread helper functions. More...

Static Public Member Functions

static Thread RunThread (Action action, Action onComplete)
 Creates a new Thread and runs it. More...
 

Detailed Description

Contains Thread helper functions.

Member Function Documentation

◆ RunThread()

static Thread TriLib.ThreadUtils.RunThread ( Action  action,
Action  onComplete 
)
static

Creates a new Thread and runs it.

Returns
The Thread.
Parameters
actionAction for the Thread to run.
onCompleteAction to run under completion.

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