コード例 #1
0
        static void Postfix(Designator_Haul __instance)
        {
            __instance.icon = ContentFinder <Texture2D> .Get("Buttons/Haulable", true);

            __instance.defaultLabel = "HaulExplicitly.SetHaulableLabel".Translate();
            __instance.defaultDesc  = "HaulExplicitly.SetHaulableDesc".Translate();
        }
コード例 #2
0
 public static void DesignateThing(Designator_Haul __instance, Thing t)
 {
     HaulingCache.ReregisterHaulableItem(t);
 }