public static void Postfix(BuildingComplete __instance) { if (string.Compare(__instance.name, (GasDiseaseFilter.ID + "Complete")) == 0) { var kanim = __instance.GetComponent <KAnimControllerBase>(); if (kanim == null) { return; } kanim.TintColour = GasDiseaseFilter.ChangeColor(); } }
public static void Prefix() { GasDiseaseFilter.SetTechTree(); }
public static void Prefix() { GasDiseaseFilter.SetDescriptions(); GasDiseaseFilter.SetMenu(); }