Sprint 4
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user