35 lines
716 B
C#
35 lines
716 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>
|
|
public string description;
|
|
|
|
/// <summary>
|
|
/// Reference to the course thumbnail
|
|
/// </summary>
|
|
public Sprite thumbnail;
|
|
|
|
/// <summary>
|
|
/// Theme used in this course
|
|
/// </summary>
|
|
public Theme theme;
|
|
}
|