protected override void Awake() { base.Awake(); tcpServer = GameManager.GetInstance.tcpServer; tcpServer.AddEventListener(ProtoType.T_S_GameStart, GameStartCmd); tcpServer.AddEventListener(ProtoType.T_S_ClientInfo, SyncClientInfo); }
protected override void Awake() { base.Awake(); tcpServer = GameManager.GetInstance.tcpServer; tcpServer.AddEventListener(ProtoType.T_S_GameStart, GameStartCmd); tcpServer.AddEventListener(ProtoType.T_S_ClientInfo, SyncClientInfo); }