Music & SFX

This commit is contained in:
Reinier Vens 2021-04-30 11:19:25 +01:00
commit d955c9da2f
50 changed files with 3099 additions and 2646 deletions

14
Assets/MainMenuMusic.cs Normal file
View 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);
}
}