コード例 #1
0
 void Start()
 {
     instance = this;
     instance.GetComponentInParent <AudioSource>().Play();
     DontDestroyOnLoad(instance);
 }
コード例 #2
0
 public static void On()
 {
     instance.GetComponentInParent <AudioSource>().mute = false;
 }