com.onlineobject.objectnet Namespace

NetworkThreadDispatcher..::..Enqueue Method (IEnumerator, Single)

Enqueues an IEnumerator action to be executed as a coroutine after a delay.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public void Enqueue(

	IEnumerator action,

	float delay

)

Parameters

action
Type: IEnumerator
The IEnumerator action to enqueue.
delay
Type: Single
The delay in milliseconds before the action is executed.