public void MakePanels()
 {
     foreach (ColorPaletteGroup g in groups)
     {
         CustomPaletteSelectButton c = Instantiate(customPaletteSelectPrefab, sortingSpot);
         c.init(g.basePalette, new ColorPalette(g.basePalette.colors), this, g.name);
         buttons.Add(c);
     }
     UpdateDemoBasedOnPanels();
 }
 public void EditPalette(CustomPaletteSelectButton c)
 {
     colorMenu.gameObject.SetActive(true);
     colorMenu.init(c.palette);
     gameObject.SetActive(false);
 }