Exemple #1
0
            public static void Postfix(BuildingComplete __instance)
            {
                if (string.Compare(__instance.name, (LiquidDiseaseFilter.ID + "Complete")) == 0)
                {
                    var kanim = __instance.GetComponent <KAnimControllerBase>();
                    if (kanim == null)
                    {
                        return;
                    }

                    kanim.TintColour = LiquidDiseaseFilter.ChangeColor();
                }
            }
Exemple #2
0
 public static void Prefix()
 {
     LiquidDiseaseFilter.SetTechTree();
 }
Exemple #3
0
 public static void Prefix()
 {
     LiquidDiseaseFilter.SetDescriptions();
     LiquidDiseaseFilter.SetMenu();
 }