Resolve WES-143 "Feedback courses"
This commit is contained in:
committed by
Jerome Coudron
parent
c20cd89c3a
commit
c358ac59e4
@@ -6,11 +6,11 @@ using UnityEngine;
|
||||
/// </summary>
|
||||
public abstract class AbstractFeedback : MonoBehaviour, Listener
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Reference to the sign predictor
|
||||
/// </summary>
|
||||
public SignPredictor signPredictor;
|
||||
|
||||
/// <summary>
|
||||
/// The function that is called by the publisher on all its listeners
|
||||
/// </summary>
|
||||
@@ -19,6 +19,7 @@ public abstract class AbstractFeedback : MonoBehaviour, Listener
|
||||
{
|
||||
yield return StartCoroutine(UpdateFeedback());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A function to add yourself as listener to the signPredictor you are holding
|
||||
/// </summary>
|
||||
@@ -26,6 +27,7 @@ public abstract class AbstractFeedback : MonoBehaviour, Listener
|
||||
{
|
||||
signPredictor.listeners.Add(this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The function that holds the logic to process the new probabilities of the signPredictor
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user