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

26 lines
513 B
C#

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