Exemplo n.º 1
0
        public void SurrenderCommand()
        {
            SurrenderPanel.SetActive(false);
            MessageRoomPacket packet = new MessageRoomPacket(GameProtocol.Surrender(), Singleton.Instance.RoomID, Singleton.Instance.Me.Username);

            Singleton.Instance.Connection.SendPacket(packet.getData());
        }