31 lines
828 B
C#
31 lines
828 B
C#
using UnityEngine;
|
|
|
|
namespace HK
|
|
{
|
|
public abstract class ThemeBaseScriptableObject : ScriptableObject
|
|
{
|
|
}
|
|
|
|
[CreateAssetMenu(fileName = "ThemeObject", menuName = "ScriptableObjects/ThemeObject", order = 1)]
|
|
public class ThemeScriptableObject : ThemeBaseScriptableObject
|
|
{
|
|
|
|
public Sprite banner;
|
|
public Sprite[] lightStickers;
|
|
public string themeName;
|
|
public Color[] colors;
|
|
|
|
}
|
|
|
|
[CreateAssetMenu(fileName = "FontThemeObject", menuName = "ScriptableObjects/FontThemeObject", order = 2)]
|
|
public class FontThemeScriptableObject : ThemeBaseScriptableObject
|
|
{
|
|
public class Data
|
|
{
|
|
public Sprite bg;
|
|
public Color[] bgColors;
|
|
public Sprite font;
|
|
public Color[] fontColors;
|
|
}
|
|
}
|
|
} |