private static void Postfix()
 {
     if (TechnicolorConfig.Instance.TechnicolorEnabled && !ChromaController.ChromaIsActive)
     {
         GradientController.InitializeGradients();
     }
 }
Example #2
0
#pragma warning disable SA1313 // Parameter names should begin with lower-case letter
        private static void Postfix()
#pragma warning restore SA1313 // Parameter names should begin with lower-case letter
        {
            TechnicolorConfig config = TechnicolorConfig.Instance;

            if (config.TechnicolorEnabled && !ChromaController.ChromaIsActive)
            {
                GradientController.InitializeGradients();
            }
        }