コード例 #1
0
 void Start()
 {
     instance = this;
     instance.GetComponentInParent <AudioSource>().Play();
     DontDestroyOnLoad(instance);
 }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     MainMusicManager.Off();
 }
コード例 #3
0
 protected void Awake()
 {
     instance = this;
 }