常用方法
常用方法
常用方法
常用方法
public static List <SlotLoadable> GetSlots(this ThingWithComps thing) { var slots = thing.GetCompSlotLoadable()?.Slots; return(!slots.NullOrEmpty() ? slots : null); }
public static List <SlotLoadable> GetSlots(this ThingWithComps thing) { var slots = thing.GetCompSlotLoadable()?.Slots; return(!slots.NullOrEmpty() ? slots : null); }