Add formatting rules

This commit is contained in:
Dries Van Schuylenbergh
2023-03-10 09:21:11 +00:00
parent 6d762a63f7
commit 26f3322e4e
30 changed files with 975 additions and 160 deletions

View File

@@ -1,19 +1,33 @@
using UnityEngine;
/// <summary>
/// Class for holding all (static) data about a certain minigame
/// </summary>
[CreateAssetMenu(menuName = "Create new Scriptable/Minigame")]
public class Minigame : ScriptableObject
{
[Header("Minigame info")]
// Minigame index
/// <summary>
/// Index of the minigame
/// </summary>
public MinigameIndex index;
// Minigame title
/// <summary>
/// The minigame title
/// </summary>
public string title;
// Short desciption of the course
/// <summary>
/// A short description of the minigame
/// </summary>
public string description;
// Thumbnail of the course
/// <summary>
/// Reference to the minigame thumbnail
/// </summary>
public Sprite thumbnail;
[Header("Scene")]
// Reference to the minigame starting scene
/// <summary>
/// The path to the minigame starting scene (<c>path == $"Assets/{minigameEntryPoint}"</c>)
/// </summary>
public string minigameEntryPoint;
}