public static void LoginOut() { NetEventDispatch.Clear(); NetWork.ClosePing(); NetWork.ClearQueue(); NetWork.ConnectGate(); }
void Start() { GameObject.DontDestroyOnLoad(game_data); NetWork.ConnectGate(); }