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