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

                    kanim.TintColour = EfficientGasFilter.ChangeColor();
                }
            }
Пример #2
0
 public static void Prefix()
 {
     EfficientGasFilter.SetTechTree();
 }
Пример #3
0
 public static void Prefix()
 {
     EfficientGasFilter.SetDescriptions();
     EfficientGasFilter.SetMenu();
 }