Music & SFX
This commit is contained in:
parent
88f4bb4afb
commit
d955c9da2f
50 changed files with 3099 additions and 2646 deletions
14
Assets/MainMenuMusic.cs
Normal file
14
Assets/MainMenuMusic.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class MainMenuMusic : MonoBehaviour
|
||||
{
|
||||
public string MusicSoundbankName = "Main_Menu";
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
AkSoundEngine.RegisterGameObj(gameObject);
|
||||
ActionGameManager.PlayMusic(ActionGameManager.SoundBanksInfo.GetSoundBank(MusicSoundbankName).Id, gameObject);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue