mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-22 22:07:59 +01:00
17 lines
307 B
C#
17 lines
307 B
C#
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>();
|
|
}
|
|
}
|
|
}
|