I created a custom class and have variables in my script of that type like so:
var dragEntityImages : MenuButton;
var assignPointImages : MenuButton;
var haltImages : MenuButton;
var warpImages : MenuButton;
var glowStickImages : MenuButton;
var selectWeaponImages : MenuButton;
var reviveImages : MenuButton;
var lineOfSightImages : MenuButton;
class MenuButton{
var active : GUIStyleState;
var inactive : GUIStyleState;
function executeClick(){
}
}
But I’m not able to modify the active and inactive GUIStyleStates. The inspector just shows the two variable names, but the usual windows for a GUIStyleState are not showing (usually it has GUI to edit the Background and Text variables). How can I fix that?