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)
Syntaxpublic 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.
Examplesvoid FixedUpdate() {
sfs.ProcessEvents();
}
See Also