よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public static List <SlotLoadable> GetSlots(this ThingWithComps thing) { var slots = thing.GetCompSlotLoadable()?.Slots; return(!slots.NullOrEmpty() ? slots : null); }