using UnityEngine;

[CreateAssetMenu(menuName = "Scriptables/Adjustable Audio Clip", fileName = "[Empty] Clip")]
public class AdjustableAudioClip : ScriptableObject
{
    #region INSPECTOR FIELDS
    [Header("Asset")]
    [SerializeField] AudioClip m_clip;

    [Header("Settings")]
    [SerializeField] [Range(0.01f, 10)] float m_pitchOffset = 1;
    [SerializeField] [Range(0.01f, 10)] float m_volumeOffset = 1;
    #endregion

    #region READABLES
    public AudioClip Clip => m_clip;
    public float PitchOffset => m_pitchOffset;
    public float VolumeOffset => m_volumeOffset;
    #endregion
}
