private static void AddFillersToSlots(WidgetLayout layout) { var fillers = new List <Filler>(); foreach (var slot in layout.slots) { var filler = Filler.CreateFromSlot(slot.gameObject); filler.Hide(); fillers.Add(filler); } Fillers[layout.location] = fillers; }