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

Public Member Functions

bool CheckRequirements (IShortcut shortcut)
void Create (GUIBox box, ref List< BaseLabel > label, Combatant combatant, IShortcut shortcut, Rect bounds, int index)
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...

Public Attributes

Vector2 position = Vector2.zero
TextAnchor anchor = TextAnchor.UpperLeft
TextAnchor relativeTo = TextAnchor.UpperLeft
bool setSize = false
Vector2 size = new Vector2(50, 50)
bool useIcon = false
ScaleMode scaleMode = ScaleMode.StretchToFill
bool alphaBlend = true
float imageAspect = 0
bool useShortcutVariables = false
TextHUD text = new TextHUD()
bool useRequirements = false
ShortcutRequirement requirement