private void Update()
 {
     if (MMI == null)
     {
         MMI = gameObject.AddComponent <ModMenuIntegration>();
     }
     if (tl == null)
     {
         tl = gameObject.AddComponent <TextureLoader>();
     }
     if (tc == null)
     {
         tc = gameObject.AddComponent <TextureChanger>();
     }
     if (ec == null)
     {
         ec = gameObject.AddComponent <ExchangeClient>();
     }
     if (md == null)
     {
         md = gameObject.AddComponent <ModDebugging>();
     }
     if (effectChanger == null)
     {
         effectChanger = gameObject.AddComponent <EffectChanger>();
     }
     if (showcaseStudio == null)
     {
         showcaseStudio = gameObject.AddComponent <ShowcaseStudio>();
     }
 }
        private void FixedUpdate()
        {
            if (MMI == null)
            {
                MMI = TextureMod.Instance.MMI;
            }
            if (TextureMod.Instance.tc.InMenu())
            {
                parryFirstColorR = (byte)MMI.GetSliderValue("(slider)parryFirstColorR");
                parryFirstColorG = (byte)MMI.GetSliderValue("(slider)parryFirstColorG");
                parryFirstColorB = (byte)MMI.GetSliderValue("(slider)parryFirstColorB");

                parrySecondColorR = (byte)MMI.GetSliderValue("(slider)parrySecondColorR");
                parrySecondColorG = (byte)MMI.GetSliderValue("(slider)parrySecondColorG");
                parrySecondColorB = (byte)MMI.GetSliderValue("(slider)parrySecondColorB");

                parryThirdColorR = (byte)MMI.GetSliderValue("(slider)parryThirdColorR");
                parryThirdColorG = (byte)MMI.GetSliderValue("(slider)parryThirdColorG");
                parryThirdColorB = (byte)MMI.GetSliderValue("(slider)parryThirdColorB");
            }
        }