I've found some results on creating an array of arrays in c# but I'm unclear on how to do it with the Material type in Unity and where/if I should create new instances. I want an array called colorGroups and each element to have an array of Materials. I set the "pinks" and "blues" materials in the inspector. Maybe I shouldn't have the first array be the Materials type and GameObject instead?
Obviously this doesn't work but it's what I have so far...
public Material[][] colorGroups;
public Material[] pinks;
public Material[] blues;
void Start()
{
colorGroups[0] = pinks;
colorGroups[1] = blues;
}