Click or drag to resize

SmartFoxProcessEvents Method

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

Namespace:  Sfs2X
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.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
void FixedUpdate() {
    sfs.ProcessEvents();
}
See Also