using System.Collections; using System.Collections.Generic; using UnityEngine; public class MainMenuMusic : MonoBehaviour { void Start() { AudioManager.PlaySound("Menu_Whistle_Intro", new Vector3(0f, 0f, 0f)).volume = 1f; Invoke("PlayMusic", 10); } void PlayMusic() { AudioManager.PlaySound("Menu_Theme", new Vector3(0f, 0f, 0f), false, true, true, true).volume = 1f; } }