コード例 #1
0
 void OnTriggerEnter(Collider collision)
 {
     if (collision.gameObject.tag == "Hand")
     {
         PlayerVR.musicOn = !PlayerVR.musicOn;
         plyr.Music();
     }
 }
コード例 #2
0
 public void MusicOnOff()
 {
     PlayerVR.musicOn = !PlayerVR.musicOn;
     plyr.Music();
 }