diff options
Diffstat (limited to 'Thronefall_1_0/GameCode/ProjectileSpawnAudio.cs')
| -rw-r--r-- | Thronefall_1_0/GameCode/ProjectileSpawnAudio.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Thronefall_1_0/GameCode/ProjectileSpawnAudio.cs b/Thronefall_1_0/GameCode/ProjectileSpawnAudio.cs new file mode 100644 index 0000000..de57603 --- /dev/null +++ b/Thronefall_1_0/GameCode/ProjectileSpawnAudio.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +public class ProjectileSpawnAudio : MonoBehaviour +{ + public ThronefallAudioManager.AudioOneShot oneShotType; + + private void Start() + { + ThronefallAudioManager.WorldSpaceOneShot(oneShotType, base.transform.position); + } +} |
