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