void QuitWorld() { Debug.LogError("QuitWorld"); state = WorldState.Closed; if (rc != null) { rc.evtHandler = null; rc.msgHandler = null; rc.Disconnect(); rc = null; } }
public void CloseMethod() { rc.Disconnect(); }