3DTD/Assets/Scripts/Utilities/PlaySound.cs

12 lines
252 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlaySound : MonoBehaviour
{
public void PlayASound(string filename)
{
AudioManager.PlaySound(filename, transform.position);
}
}