20 lines
488 B
C#
20 lines
488 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// Keep track of all songs
|
|
/// </summary>
|
|
[CreateAssetMenu(menuName = "Create new Scriptable/SongList")]
|
|
public class SongList : ScriptableObject
|
|
{
|
|
/// <summary>
|
|
/// Index of the active/to be loaded/current song
|
|
/// </summary>
|
|
public int currentSongIndex = 0;
|
|
|
|
/// <summary>
|
|
/// List of all installed songs
|
|
/// </summary>
|
|
public List<Song> songs = new List<Song>();
|
|
}
|