FiE-Game/Assets/Scripts/Fie/Voice/FieVoiceSpeaker.cs

18 lines
307 B
C#
Raw Normal View History

2018-11-20 21:10:49 +02:00
using UnityEngine;
namespace Fie.Voice
{
[RequireComponent(typeof(AudioSource))]
public class FieVoiceSpeaker : MonoBehaviour
{
private AudioSource _speaker;
public AudioSource audioSource => _speaker;
private void Awake()
{
_speaker = base.gameObject.GetComponent<AudioSource>();
}
}
}