using UnityEngine;
using UnityEngine.Audio;
///
/// Class for holding all (static) data about a certain song
///
[CreateAssetMenu(menuName = "Create new Scriptable/Song")]
public class Song : ScriptableObject
{
///
/// Time at which the first symbol should enter the hit zone
///
public float firstSymbolTime;
///
/// Determines every how many seconds a symbol should enter the hit zone
///
public float spawnPeriod;
///
/// Duration of the song in seconds
///
public int duration;
///
/// The actual audio source
///
public AudioClip song;
}