mirror of
https://github.com/Ratstail91/Keep-It-Alive.git
synced 2025-11-29 10:34:27 +11:00
Added audio, it's finished
This commit is contained in:
14
Assets/Scripts/AudioStartup.cs
Normal file
14
Assets/Scripts/AudioStartup.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class AudioStartup : MonoBehaviour {
|
||||
AudioController controller;
|
||||
void Awake() {
|
||||
controller = GetComponent<AudioController>();
|
||||
controller.Load("fire", "Fire");
|
||||
controller.Load("crackle", "Fire Cracks");
|
||||
controller.Load("cut", "Tree Cut");
|
||||
controller.Load("hunted", "Hunted");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user