NetworkThreadDispatcher Methods
The NetworkThreadDispatcher type exposes the following members.
Methods
Name | Description | |
---|---|---|
Enqueue(IEnumerator) |
Enqueues an IEnumerator action to be executed as a coroutine.
|
|
Enqueue(IEnumerator, Single) |
Enqueues an IEnumerator action to be executed as a coroutine after a delay.
|
|
Enqueue(Action) |
Enqueues an Action to be executed, potentially as a coroutine if configured.
|
|
Enqueue(Action, Single) |
Enqueues an Action to be executed after a delay, potentially as a coroutine if configured.
|
|
EnqueueAsync |
Enqueues an Action to be executed asynchronously and returns a Task representing the operation.
|
|
FixedUpdate |
Unity's FixedUpdate method called at a fixed time interval. Handles network clock updates and synchronization.
|
|
GetConnection |
Abstract method to get the network transport for a specific connection type.
|
|
GetNetworkingMode |
Abstract method to get the networking mode.
|
|
GetSendRate |
Abstract method to get the send rate for network synchronization.
|
|
HasConnection |
Abstract method to check if there is a connection of a specific type.
|
|
Update |
Unity's Update method called every frame. Handles immediate execution of actions and delayed actions.
|