19 lines
433 B
C#
19 lines
433 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class IngameMusic : MonoBehaviour
|
||
|
{
|
||
|
void Start()
|
||
|
{
|
||
|
AudioManager.PlaySound("Intro_Flatline", new Vector3(0f, 0f, 0f), false, false).volume = 1f;
|
||
|
|
||
|
Invoke("PlayMusic", 3);
|
||
|
}
|
||
|
|
||
|
void PlayMusic()
|
||
|
{
|
||
|
AudioManager.PlaySound("Ingame_Theme", new Vector3(0f, 0f, 0f), false, false, true, true).volume = 1f;
|
||
|
}
|
||
|
}
|