ParaNetService.OnNetworkSettled

Declaration

public static void OnNetworkSettled(Action callback)

Parameters

callbackCallback 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);