Example #1
0
        private void OnPlayerJoined(CharacterJoinedPacket packet)
        {
            Debug.Log($"[Client] Player joined: {packet.UserName}");
            var clientCharacter = new ClientCharacter(packet.CharacterPacket.Id, packet.UserName);

            _clientManager.AddCharadcter(packet.CharacterPacket.Id, clientCharacter);
        }