Class MainThreadCoroutineCommandHandler
Basic handler of main thread commands. It queues the commands and executes any commands in the queue on update.
Inheritance
System.Object
MainThreadCoroutineCommandHandler
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: InsaneScatterbrain.Threading
Syntax
public class MainThreadCoroutineCommandHandler : IMainThreadCoroutineCommandHandler
Constructors
MainThreadCoroutineCommandHandler()
Declaration
public MainThreadCoroutineCommandHandler()
Methods
Queue(IMainThreadCoroutineCommand, Boolean)
Declaration
public void Queue(IMainThreadCoroutineCommand command, bool waitForCompletion = true)
Parameters
Type | Name | Description |
---|---|---|
IMainThreadCoroutineCommand | command | |
System.Boolean | waitForCompletion |
UpdateCoroutine()
Declaration
public IEnumerator UpdateCoroutine()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |