Files
Jelle De Geest 163eb40c0f Sprint 6
2023-05-24 21:08:16 +02:00

46 lines
1.1 KiB
C#

using UnityEngine;
/// <summary>
/// Class for holding all (static) data about a certain minigame
/// </summary>
[CreateAssetMenu(menuName = "Create new Scriptable/Minigame")]
public class Minigame : ScriptableObject
{
/// <summary>
/// Index of the minigame
/// </summary>
public MinigameIndex index;
/// <summary>
/// The minigame title
/// </summary>
public string title;
/// <summary>
/// A short description of the minigame
/// </summary>
[TextArea]
public string description;
/// <summary>
/// Reference to specific themelist, null if no theme needed
/// </summary>
public ThemeList themeList = null;
/// <summary>
/// Reference to the minigame thumbnail
/// </summary>
public Sprite thumbnail;
/// <summary>
/// The path to the minigame starting scene (<c>path == $"Assets/{minigameEntryPoint}"</c>)
/// </summary>
public string minigameEntryPoint;
/// <summary>
/// An explanation on how to play the game and score points
/// </summary>
[TextArea]
public string controls;
}