public CustomColor(string shortColorName, string fullColorName, Color32 mainColor, Color32 shadowColor) { this.shortColorName = CustomStringName.Register(shortColorName); this.fullColorName = CustomStringName.Register(fullColorName); this.mainColor = mainColor; this.shadowColor = shadowColor; }
public NormalColor(Color frontColor, Color backColor, string colorName, bool hidden = false) { FrontColor = frontColor; BackColor = backColor; ColorName = CustomStringName.Register(colorName); Hidden = hidden; }
public CyclicColor(ColorStop[] colorStops, string colorName, bool hidden = false) { ColorStops = colorStops; ColorName = CustomStringName.Register(colorName); Hidden = hidden; Coroutines.Start(Cycle()); }