Resolve WES-97 "Integrate signpredictor in spellingbee"
This commit is contained in:
committed by
Lukas Van Rossem
parent
f827c29d3a
commit
3abc24a39c
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user