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;
 }
Beispiel #2
0
        public NormalColor(Color frontColor, Color backColor, string colorName, bool hidden = false)
        {
            FrontColor = frontColor;
            BackColor  = backColor;

            ColorName = CustomStringName.Register(colorName);

            Hidden = hidden;
        }
Beispiel #3
0
        public CyclicColor(ColorStop[] colorStops, string colorName, bool hidden = false)
        {
            ColorStops = colorStops;

            ColorName = CustomStringName.Register(colorName);

            Hidden = hidden;

            Coroutines.Start(Cycle());
        }