Declaration
public static void OnNetworkSettled(Action callback)
Parameters
callback | Callback function for receiving notifications |
Description
Upon completing the scene loading and network initializing, the callback function registered by this function will be called. Multiple callback functions can be registered, and they will be called in sequence.
ParaNetService.OnNetworkSettled(function()
print("network settled");
end);