Warnings fixed

This commit is contained in:
CoudronJerome
2023-03-30 20:00:28 +02:00
parent c9ebec1724
commit c9c22e6426
5 changed files with 6 additions and 23 deletions

View File

@@ -47,10 +47,10 @@ public abstract class AbstractFeedback : MonoBehaviour, Listener
/// </summary>
protected string previousIncorrectSign = null;
public void ProcessIncomingCall()
public IEnumerator ProcessIncomingCall()
{
//UpdateFeedback2();
StartCoroutine(UpdateFeedback());
yield return StartCoroutine(UpdateFeedback());
}
public void AddSelfAsListener()

View File

@@ -326,7 +326,7 @@ namespace Mediapipe.Unity.Tutorial
//Debug.Log($"prob = [{learnableProbabilities.Aggregate(" ", (t, kv) => $"{t}{kv.Key}:{kv.Value} ")}]");
foreach(Listener listener in listeners)
{
listener.ProcessIncomingCall();
yield return listener.ProcessIncomingCall();
}
}
else