Resolve WES-80 "Data"

This commit is contained in:
Helena Van Breugel
2023-03-18 22:32:36 +00:00
parent 8ff5c6c4c8
commit a19d89db03
1092 changed files with 18349 additions and 30118 deletions

View File

@@ -3,34 +3,14 @@ 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>
/// Small class to hold information about a single learnable (e.g., a word or a letter)
/// </summary>
[Serializable]
public class Learnable
{
/// <summary>
/// Name of the word/letter to learn
/// </summary>
public string name;
/// <summary>
/// Sprite of this word/letter
/// </summary>
public Sprite image;
/// <summary>
/// Example video clip
/// </summary>
public VideoClip clip;
}
/// <summary>
/// Index of the course
/// </summary>
@@ -52,7 +32,7 @@ public class Course : ScriptableObject
public Sprite thumbnail;
/// <summary>
/// List of all learnable words/letters
/// Theme used in this course
/// </summary>
public List<Learnable> learnables = new List<Learnable>();
public Theme theme;
}