Hi, I have a structure which contain arrays:
public struct myStructure
{
public Vector3 vertex;
public Color[] firstColour;
public Color[] secondColour;
public float[] blendTime;
}
I am then creating an array of these structures. The issue I’m having, is that the vertex, firstColour, secondColour and blendTime variables aren’t viewable in the inspector, I assume because I haven’t defined there size, which I do later in the code (as far as I am aware I can’t declare the size of the arrays when I declare the structure?).
So is there any way to make these variables viewable in the inspector?
Thanks