public GUI_content ( int ID, GUI_Item_Type contentType, string text, string toolTip, GUI_textColor textColor, FontStyle fontStyle = FontStyle.Normal, TextAnchor textAlign = TextAnchor.MiddleCenter, GUI_Item_State initialState = GUI_Item_State.NORMAL, float fixedWidth = 0f, float fixedHeight = 0f ) { this.ID = ID; ContentType = contentType; Text = text; ToolTip = toolTip; TextColor = textColor; FontStyle = fontStyle; TextAlign = textAlign; InitialState = GUI_Item_State.NORMAL; FixedWidth = fixedWidth; FixedHeight = fixedHeight; }
public void SetState(GUI_Item_State state) { State = state; }