コード例 #1
0
 void SwitchMC()
 {
     if (Music.color == myColor)
     {
         GuardManager.doPlay();
         PlayerPrefs.SetInt("Music", 1);
         SetWhiteMusic();
     }
     else
     {
         GuardManager.stopPlay();
         PlayerPrefs.SetInt("Music", 0);
         SetRedMusic();
     }
 }