public void Awake() { This = this; //处理协议信息 Handler_Protocol(); //处理账号信息 Handler_Account(); }
public override void Dispose() { if (this.IsDisposed) { return; } base.Dispose(); foreach (Player player in m_IdPlayers.Values) { player.Dispose(); } m_IdPlayers.Clear(); m_HistoryUserDic.Clear(); m_IdPlayers = null; m_HistoryUserDic = null; This = null; }