public GameObject CreateAudioCueFromInfo(AudioCueInfo info) { GameObject audioCueObj = Instantiate(audioCuePrefab, info.position, Quaternion.identity); audioCueObj.GetComponent <AudioSource>().clip = audioLibrary.GetAudioClip(info.id); audioCueObj.GetComponent <AudioSource>().Play(); return(audioCueObj); }