Resolve WES-89 "Justsign music"
This commit is contained in:
19
Assets/JustSign/Scripts/SongList.cs
Normal file
19
Assets/JustSign/Scripts/SongList.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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>();
|
||||
}
|
||||
Reference in New Issue
Block a user