This commit is contained in:
Jelle De Geest
2023-04-26 19:04:34 +02:00
parent 172938cec8
commit 47f8b96122
1004 changed files with 60756 additions and 117444 deletions

View File

@@ -5,7 +5,7 @@ using UnityEngine;
/// <summary>
/// Keep track off defined themes
/// </summary>
[CreateAssetMenu(menuName = "Create new Scriptable/ThemeList")]
[CreateAssetMenu(menuName = "Create new Scriptable/Theme List")]
public class ThemeList : ScriptableObject
{
/// <summary>
@@ -24,6 +24,6 @@ public class ThemeList : ScriptableObject
/// <param name="title"></param>
public void SetCurrentTheme(ThemeIndex index)
{
this.currentThemeIndex = themes.FindIndex((mi) => mi.index == index);
this.currentThemeIndex = themes.FindIndex((mi) => mi.themeIndex == index);
}
}