FiE-Game/src/FieAudioSourceAnimationEvent.cs
2018-11-20 21:10:49 +02:00

15 lines
222 B
C#

using UnityEngine;
public class FieAudioSourceAnimationEvent : MonoBehaviour
{
[SerializeField]
private AudioSource _audioSource;
public void Play()
{
if (_audioSource != null)
{
_audioSource.Play();
}
}
}