public void ConnectToServer() { playerNetworkingSettings.SetNickName(); uiPanelManager.EnableLobbyPanel(); PhotonNetwork.ConnectUsingSettings(); }