public override void OnEnableUIPanel()
 {
     musicToggle.IsOn        = PlayerPrefsSaveSystem.GetIfMusicOn();
     sfxToggle.IsOn          = PlayerPrefsSaveSystem.GetIfSFXOn();
     nickNameInputField.text = PlayerPrefsSaveSystem.GetPlayerName();
 }
 public void OnConnectedToMaster()
 {
     NetworkStateDisplay.ShowNetworkState("Connected to the master server...");
     PhotonNetwork.LocalPlayer.NickName = PlayerPrefsSaveSystem.GetPlayerName();
     Debug.Log("Connected to the server");
 }