Esempio n. 1
0
 public static void Postfix(Designator_Install __instance)
 {
     if (__instance.PlacingDef is ThingDef thingDef && thingDef.EverTransmitsGas())
     {
         SectionLayer_GasNetwork.DrawGasGridOverlayThisFrame();
     }
 }
Esempio n. 2
0
 public static void Postfix(BuildableDef ___entDef)
 {
     if (___entDef is ThingDef thingDef && thingDef.EverTransmitsGas())
     {
         SectionLayer_GasNetwork.DrawGasGridOverlayThisFrame();
     }
 }
 public override void SelectedUpdate()
 {
     base.SelectedUpdate();
     SectionLayer_GasNetwork.DrawGasGridOverlayThisFrame();
 }