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