mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2025-02-18 19:34:22 +01:00
18 lines
307 B
C#
18 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>();
|
||
|
}
|
||
|
}
|
||
|
}
|