Resolve WES-97 "Integrate signpredictor in spellingbee"

This commit is contained in:
Dries Van Schuylenbergh
2023-03-19 17:37:50 +00:00
committed by Lukas Van Rossem
parent f827c29d3a
commit 3abc24a39c
72 changed files with 3169 additions and 1886 deletions

View File

@@ -28,21 +28,12 @@ public class MinigameList : ScriptableObject
return minigames.Find((m) => m.index == minigameIndex);
}
/// <summary>
/// Function to find a minigame-index in the list based on its title
/// </summary>
/// <param name="title"></param>
public void SetCurrentMinigame(string title)
{
this.currentMinigameIndex = minigames.FindIndex((mi) => mi.title == title);
}
/// <summary>
/// Function to find a minigame-index in the list based on its index
/// </summary>
/// <param name="title"></param>
public void SetCurrentMinigame(MinigameIndex index)
{
this.currentMinigameIndex = minigames.FindIndex((mi) => mi.index == index);
currentMinigameIndex = minigames.FindIndex((mi) => mi.index == index);
}
}