using System.Collections; using System.Collections.Generic; using UnityEngine; public class IngameMusic : MonoBehaviour { float volume = 0.1f; void Start() { AudioManager.PlaySound("Intro_Flatline", new Vector3(0f, 0f, 0f), false, false).volume = volume; Invoke("PlayMusic", 3); } void PlayMusic() { AudioManager.PlaySound("Ingame_Theme", new Vector3(0f, 0f, 0f), false, false, true, false).volume = volume; } }