메소드 | 설명 | |
---|---|---|
ToString ( ) : string |
Returns a System.String that represents the current SpicyPixel.Threading.UnityFiberScheduler.
|
|
UnityFiberScheduler ( |
Initializes a new instance of the SpicyPixel.Threading.UnityFiberScheduler class.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Dispose the scheduler.
|
|
QueueFiber ( |
Queues the fiber for execution on the scheduler. Fibers queued from the scheduler thread will generally be executed inline whenever possible on most schedulers. |
메소드 | 설명 | |
---|---|---|
ExecuteFiberInternal ( |
Wraps fiber execution to translate between framework and Unity concepts.
|
|
ProcessFiberQueue ( ) : IEnumerator |
Runs on the scheduler thread and dispatches all queued fibers.
|
|
StartUnityFiber ( |
Starts a fiber using the Unity scheduler. This wraps the fiber in a special coroutine in order to convert between the framework and Unity. Additionally it saves the Unity coroutine and associates it with the fiber so it can be used later for wait operations. Note that Unity StartCoroutine will execute inline to the first yield. |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | /// Disposing. /// |
리턴 | void |
protected QueueFiber ( |
||
fiber | /// The fiber to queue. /// | |
리턴 | void |
public UnityFiberScheduler ( |
||
behaviour | /// The behaviour to use for scheduling with Unity. /// | |
리턴 | System |