diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-04-21 14:37:09 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-04-21 14:37:09 -0400 |
| commit | b6daed0af784f4e9bc13329dd87c671b06ee1c65 (patch) | |
| tree | c1992e98d3aa3aba021e44d50f1abbc35968dcaa /Assets/Scripts/AudioManager.cs | |
| parent | ee3e85bc67a0f6f1761c11ea452d7bb862105930 (diff) | |
| download | Project-Sandbox-b6daed0af784f4e9bc13329dd87c671b06ee1c65.tar.gz Project-Sandbox-b6daed0af784f4e9bc13329dd87c671b06ee1c65.tar.bz2 Project-Sandbox-b6daed0af784f4e9bc13329dd87c671b06ee1c65.zip | |
added new audio
Diffstat (limited to 'Assets/Scripts/AudioManager.cs')
| -rw-r--r-- | Assets/Scripts/AudioManager.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Assets/Scripts/AudioManager.cs b/Assets/Scripts/AudioManager.cs index 23042c1..016e04d 100644 --- a/Assets/Scripts/AudioManager.cs +++ b/Assets/Scripts/AudioManager.cs @@ -7,6 +7,9 @@ public class AudioManager : MonoBehaviour public Sound[] sounds;
public static AudioManager instance;
+
+ public string Theme;
+
// Start is called before the first frame update
void Awake()
@@ -34,7 +37,7 @@ public class AudioManager : MonoBehaviour void Start()
{
- Play("Splattack!");
+ Play(Theme);
}
public void Play(string name)
|
