37 lines
962 B
C#
37 lines
962 B
C#
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "UIColors", menuName = "UI/UIColors")]
|
|
public class UIColorContainer : ScriptableObject
|
|
{
|
|
[System.Serializable]
|
|
public struct UIButtonStateColors
|
|
{
|
|
public Color32 text;
|
|
public Color32 bg;
|
|
}
|
|
|
|
public UIButtonStateColors normal = new UIButtonStateColors()
|
|
{
|
|
text = new Color32(236, 236, 236, 255),
|
|
bg = new Color32(255, 255, 255, 0)
|
|
};
|
|
|
|
public UIButtonStateColors highLight = new UIButtonStateColors()
|
|
{
|
|
text = new Color32(41, 41, 41, 230),
|
|
bg = new Color32(255, 255, 255, 103)
|
|
};
|
|
|
|
public UIButtonStateColors pressed = new UIButtonStateColors()
|
|
{
|
|
text = new Color32(0, 0, 0, 240),
|
|
bg = new Color32(255, 255, 255, 160)
|
|
};
|
|
|
|
public UIButtonStateColors disabled = new UIButtonStateColors()
|
|
{
|
|
text = new Color32(180, 180, b: 180, 80),
|
|
bg = new Color32(255, 255, b: 255, 0)
|
|
};
|
|
}
|