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