Tells the API to process all event queues and execute the delegate callbacks.

Namespace: Sfs2X
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public void ProcessEvents()

Remarks

This method must be called by the client application to maintain thread safety, in conjunction with the ThreadSafeMode property being set to true.
Typically this method is called in Unity's MonoBehavior.Update method.

Examples

 Copy imageCopy
void FixedUpdate() {
    sfs.ProcessEvents();
    }

See Also