public static void SetServInstance(Ddz2RemoteServer obj) { ServInstance = obj; }
/// <summary> /// 场景销毁后,重置静态变量 /// </summary> void OnDestroy() { ServInstance = null; _onGameInfoData = null; UserDic.Clear(); }