Пример #1
0
 void QuitWorld()
 {
     Debug.LogError("QuitWorld");
     state = WorldState.Closed;
     if (rc != null)
     {
         rc.evtHandler = null;
         rc.msgHandler = null;
         rc.Disconnect();
         rc = null;
     }
 }
Пример #2
0
 public void CloseMethod()
 {
     rc.Disconnect();
 }