Files
unity-application/Assets/Common/Interfaces/Course.cs
2023-05-14 20:18:29 +00:00

35 lines
730 B
C#

using UnityEngine;
/// <summary>
/// Class for holding all (static) data about a certain course
/// </summary>
[CreateAssetMenu(menuName = "Create new Scriptable/Course")]
public class Course : ScriptableObject
{
/// <summary>
/// Index of the course
/// </summary>
public CourseIndex index;
/// <summary>
/// The course title
/// </summary>
public string title;
/// <summary>
/// A short description of the course
/// </summary>
[TextArea]
public string description;
/// <summary>
/// Reference to the course thumbnail
/// </summary>
public Sprite thumbnail;
/// <summary>
/// Theme used in this course
/// </summary>
public Theme theme;
}