mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-27 07:47:59 +01:00
16 lines
222 B
C#
16 lines
222 B
C#
|
using UnityEngine;
|
||
|
|
||
|
public class FieAudioSourceAnimationEvent : MonoBehaviour
|
||
|
{
|
||
|
[SerializeField]
|
||
|
private AudioSource _audioSource;
|
||
|
|
||
|
public void Play()
|
||
|
{
|
||
|
if (_audioSource != null)
|
||
|
{
|
||
|
_audioSource.Play();
|
||
|
}
|
||
|
}
|
||
|
}
|