Resolve WES-XX-ScriptableList-Index-Fix
This commit is contained in:
committed by
Dries Van Schuylenbergh
parent
8696aff135
commit
4402e80d0c
@@ -41,6 +41,12 @@ public class JustSignController : MonoBehaviour
|
||||
public Minigame minigame;
|
||||
|
||||
/// <summary>
|
||||
/// We keep the minigamelist as well so that the minigame-index doesn't get reset
|
||||
/// DO NOT REMOVE
|
||||
/// </summary>
|
||||
public MinigameList minigamelist;
|
||||
|
||||
/// </summary>
|
||||
/// Reference to the list of available songs
|
||||
/// </summary>
|
||||
public SongList songList;
|
||||
@@ -50,6 +56,7 @@ public class JustSignController : MonoBehaviour
|
||||
/// </summary>
|
||||
private Song currentSong;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// The zone that the player should be hitting with his or her inputs
|
||||
/// </summary>
|
||||
@@ -174,7 +181,7 @@ public class JustSignController : MonoBehaviour
|
||||
/// Start is called before the first frame update
|
||||
/// </summary>
|
||||
void Start()
|
||||
{
|
||||
{
|
||||
scoreDisplay.text = "Score: " + score.ToString();
|
||||
currentTheme = minigame.themeList.themes[minigame.themeList.currentThemeIndex];
|
||||
words.AddRange(currentTheme.learnables);
|
||||
|
||||
Reference in New Issue
Block a user