2024-02-04 04:48:33 +01:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
public class MainMenuMusic : MonoBehaviour
|
|
|
|
{
|
|
|
|
void Start()
|
|
|
|
{
|
2024-02-04 08:16:54 +01:00
|
|
|
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;
|
2024-02-04 04:48:33 +01:00
|
|
|
}
|
|
|
|
}
|