//private AudioSource bgAudioSource; void Start() { Screen.fullScreen = false; MusicLoader.InitMusicLoader(); //bgAudioSource = gameObject.AddComponent<AudioSource>(); //bgAudioSource.playOnAwake = false; //bgAudioSource.hideFlags = HideFlags.HideInHierarchy; //bgAudioSource.transform.SetParent(this.transform); }
public void ButtonOnClickEvent() { MusicLoader.InitMusicLoader(); }