Files
unity-application/Assets/Common/Interfaces/Course.cs
Helena Van Breugel a19d89db03 Resolve WES-80 "Data"
2023-03-18 22:32:36 +00:00

39 lines
794 B
C#

using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
/// <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;
}