Resolve WES-181 "Missing code doc"
This commit is contained in:
committed by
Louis Adriaens
parent
7505ae7262
commit
3d99184717
@@ -3,10 +3,24 @@ using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
/// <summary>
|
||||
/// Class to handle panel with only image and webcam
|
||||
/// </summary>
|
||||
public class PanelWithImage : MonoBehaviour
|
||||
{
|
||||
/// <summary>
|
||||
/// Reference to the feedback progress bar
|
||||
/// </summary>
|
||||
public GameObject feedbackProgressObject;
|
||||
|
||||
/// <summary>
|
||||
/// Reference to the object containing the message for when the course is loaded in preview mode
|
||||
/// </summary>
|
||||
public GameObject previewMessage;
|
||||
|
||||
/// <summary>
|
||||
/// True if the course is loaded in preview mode, false otherwise
|
||||
/// </summary>
|
||||
public bool isPreview;
|
||||
|
||||
/// <summary>
|
||||
@@ -14,8 +28,14 @@ public class PanelWithImage : MonoBehaviour
|
||||
/// </summary>
|
||||
public Transform signImageContainer;
|
||||
|
||||
/// <summary>
|
||||
/// Reference to the prefab for displaying the image
|
||||
/// </summary>
|
||||
public GameObject signImagePrefab;
|
||||
|
||||
/// <summary>
|
||||
/// Reference to the webcam
|
||||
/// </summary>
|
||||
public RawImage webcamScreen;
|
||||
|
||||
/// <summary>
|
||||
@@ -33,9 +53,19 @@ public class PanelWithImage : MonoBehaviour
|
||||
/// </summary>
|
||||
public Image feedbackProgressImage;
|
||||
|
||||
/// <summary>
|
||||
/// Reference to the list of learnables
|
||||
/// </summary>
|
||||
public List<Learnable> signs;
|
||||
|
||||
/// <summary>
|
||||
/// Index of the current learnable in the list with learnables
|
||||
/// </summary>
|
||||
public int currentSignIndex;
|
||||
|
||||
/// <summary>
|
||||
/// Update the display of this panel
|
||||
/// </summary>
|
||||
public void Display()
|
||||
{
|
||||
Learnable currentSign = signs[currentSignIndex];
|
||||
|
||||
Reference in New Issue
Block a user