/// <summary>
        /// Adds a local player to lobby.
        /// </summary>
        protected virtual void AddLocalPlayerToLobby()
        {
            LocalLobbyPlayer p = new LocalLobbyPlayer {
                Position             = Position,
                Name                 = PlayerNameText.text,
                VehicleName          = VehicleText.text,
                VehicleSelectedIndex = _currentVehicleIndex,
                IsBot                = _isBot
            };

            _localLobbyManager.AddPlayer(p);
        }
 /// <summary>
 /// Adds the player object to the active players list
 /// </summary>
 /// <param name="p">LocalLobbyPlayer player</param>
 public virtual void AddPlayer(LocalLobbyPlayer p)
 {
     _players[p.Position] = p;
 }