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