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