ORK Framework  2.27.1
API Documentation
ORKFramework.GUIBoxButton Class Reference
Inheritance diagram for ORKFramework.GUIBoxButton:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 GUIBoxButton (Rect b, string n)
 
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
ChoiceContent GetButton (GUIBox box)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

TextAnchor anchor = TextAnchor.LowerRight
 
Rect bounds = new Rect(-150, 30, 150, 30)
 
ButtonSettings settings = new ButtonSettings()
 
ContentButton content = new ContentButton()
 

Member Function Documentation

◆ SetData()

override void ORKFramework.GUIBoxButton.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.