I have an array of styles:
public GUIStyle[] styles;
When using one of these styles on a label nothing shows up
GUILayout.Label("Foo Bar", styles[0]);
It works as it should when the styles aren’t in an array such as
GUILayout.Label("Foo Bar", style);
Have I done something wrong?