private static Color GetColdTechnicolour(float time, TechnicolorTransition transition)
        {
            switch (transition)
            {
            case TechnicolorTransition.FLAT:
                return(GetRandomFromArray(TechnicolorColdPalette, time));

            case TechnicolorTransition.SMOOTH:
                return(GetLerpedFromArray(TechnicolorColdPalette, time));

            default:
                return(Color.white);
            }
        }
        internal static Color GetTechnicolor(bool warm, float time, TechnicolorStyle style, TechnicolorTransition transition = TechnicolorTransition.FLAT)
        {
            switch (style)
            {
            case TechnicolorStyle.PURE_RANDOM:
                return(Color.HSVToRGB(UnityEngine.Random.value, 1f, 1f));

            case TechnicolorStyle.WARM_COLD:
                return(warm ? GetWarmTechnicolour(time, transition) : GetColdTechnicolour(time, transition));

            default: return(Color.white);
            }
        }