Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
SkinColorProfile.cs
Go to the documentation of this file.
1using UnityEngine;
2
3public class SkinColorProfile : ScriptableObject
4{
6
8
10
12
14
16
18
20
22
24
26
28
30
31 public Color textBad;
32
34
36
38
40
42
44
45 public Color textTag;
46
48
50
52
54
56
58
60
62
64
66
68
70
72
74
76
78
80
82
83 public Color tab;
84
86
88
90
92
94
96
97 public Gradient gradientHP;
98
99 public Gradient gradientMP;
100
101 public Gradient gradientSP;
102
103 public Gradient gradientTool;
104
106
107 [Range(0f, 2f)]
108 public float contrast = 1f;
109
110 [Range(-1f, 1f)]
111 public float strength;
112
113 public Color GetTextColor(FontColor fontColor)
114 {
115 return fontColor switch
116 {
117 FontColor.ButtonGeneral => buttonGeneral,
118 FontColor.ButtonSelectable => buttonSelectable,
119 FontColor.ButtonBig => buttonBig,
120 FontColor.ButtonBottom => buttonBottom,
121 FontColor.ButtonGrid => buttonGrid,
122 FontColor.ButtonGrid2 => buttonGrid2,
123 FontColor.ButtonGrid3 => buttonGrid3,
124 FontColor.ButtonSide => buttonSide,
125 FontColor.Header => textHeader,
126 FontColor.HeaderDark => textHeaderDark,
127 FontColor.HeaderMenu => textHeaderMenu,
128 FontColor.Topic => textTopic,
129 FontColor.Topic2 => textTopic2,
130 FontColor.Passive => textPassive,
131 FontColor.Title => textTitle,
132 FontColor.News => textNews,
133 FontColor.Good => textGood,
134 FontColor.Great => textGreat,
135 FontColor.Util => textUtil,
136 FontColor.Bad => textBad,
137 FontColor.Warning => textWarning,
138 FontColor.Flavor => textFlavor,
139 FontColor.ItemName => textItemName,
140 FontColor.Interaction => textInteraction,
141 FontColor.MsgDefault => textMsgDefault,
142 FontColor.Dropdown => dropdown,
143 FontColor.Tab => tab,
144 FontColor.QuestObjective => textQuestObjective,
145 FontColor.Ether => textEther,
146 FontColor.Tag => textTag,
147 FontColor.Charge => textCharge,
148 FontColor.Myth => textMyth,
149 FontColor.Gray => textGray,
150 FontColor.FoodQuality => textFoodQuality,
151 FontColor.FoodMisc => textFoodMisc,
152 _ => textDefault,
153 };
154 }
155}
FontColor
Definition: FontColor.cs:2
Color GetTextColor(FontColor fontColor)
UD_String_Gradient gradients