public override void OnStartLocalPlayer()
 {
     base.OnStartLocalPlayer();
     LocalPlayer = this;
     CmdPlayerNumberTest();
     print("OnStartLocalPlayer called");
 }
        internal void SetNetworkState(BoltConnection connection, PlayerNetworkState state)
        {
            Assert.IsTrue(playerInfosByConnection.ContainsKey(connection), $"Failed to change connection state for {connection.RemoteEndPoint}");
            if (!playerInfosByConnection.ContainsKey(connection))
            {
                return;
            }

            playerInfosByConnection[connection].NetworkState = state;
            if (state == PlayerNetworkState.Disconnected)
            {
                playerInfosByConnection[connection].DisconnectTimeLeft = DisconnectedPlayerDestroyTime;
            }
        }