com.onlineobject.objectnet Namespace

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

Enqueues an Action to be executed after a delay, potentially as a coroutine if configured.

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

Syntax


public void Enqueue(

	Action action,

	float delay

)

Parameters

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