コード例 #1
0
ファイル: UiManager.cs プロジェクト: jacob568/Keepy-Hoopies
 /// <summary>
 /// Toggles the game sounds
 /// </summary>
 public void toggleSound()
 {
     if (soundToggle.isOn)
     {
         PlayerPersistence.SetSoundToggle(true);
     }
     else
     {
         PlayerPersistence.SetSoundToggle(false);
     }
 }