Namespace InsaneScatterbrain.Threading
Classes
MainThread
Allows calls onto the main thread from any other thread. This can be necessary, because the Unity API is only accessible from the main thread for the most part.
MainThreadCommand
Contains an action to execute on the main thread and its current status.
MainThreadCommandHandler
Basic handler of main thread commands. It queues the commands and executes any commands in the queue on update.
MainThreadCoroutine
This class makes sure that the main thread command handler is actually run on update.
MainThreadCoroutineCommand
MainThreadCoroutineCommandHandler
Basic handler of main thread commands. It queues the commands and executes any commands in the queue on update.
MainThreadUpdater
This class makes sure that the main thread command handler is actually run on update.
Interfaces
IMainThreadCommand
Interface for commands to execute on the main thread.
IMainThreadCommandHandler
Interface for basic handler of main thread commands.
IMainThreadCoroutineCommand
IMainThreadCoroutineCommandHandler
Interface for basic handler of main thread commands.