Files
unity-application/Assets/Common/Interfaces/Learnable.cs
2023-04-04 18:24:17 +00:00

36 lines
758 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>
/// Sprite of the hand gesture used for fingerspelling
/// </summary>
public Sprite handGuide = null;
/// <summary>
/// Addaptive threshold
/// </summary>
public float thresholdPrecentage = 0.90f;
/// <summary>
/// Example video clip
/// </summary>
public VideoClip clip;
}