26 lines
513 B
C#
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;
|
|
}
|