ORK Framework  2.29.3
API Documentation
ORKFramework.HUDObject Class Reference
Inheritance diagram for ORKFramework.HUDObject:
ORKFramework.HUDElement ORKFramework.CoreHUDElement ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

bool CheckRequirements (GameObject gameObject, IContent content)
 
void CreateLabels (GUIBox box, out List< BaseLabel > label, Rect displayBounds, GameObject gameObject, IContent content)
 
void CreateLabelsEditor (GUIBox box, out List< BaseLabel > label, Rect displayBounds)
 
override bool CheckClick (Combatant combatant, Vector2 position, float releasedAfter, ref bool clickConsumed)
 
- Public Member Functions inherited from ORKFramework.HUDElement
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void CreateLabels (GUIBox box, out List< BaseLabel > label, Rect displayBounds, Combatant combatant)
 
virtual void CreateLabelsEditor (GUIBox box, out List< BaseLabel > label, Rect displayBounds, Combatant combatant)
 
- 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

string [] text = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
float lineSpacing = 10
 
TextAlignment alignment = TextAlignment.Left
 
VerticalTextAlignment vAlignment = VerticalTextAlignment.Bottom
 
TextFormatSetting textFormat = TextFormatSetting.Default
 
bool useRequirements = false
 
Consider hasSceneObject = Consider.Ignore
 
ObjectRequirement requirements
 
HUDClickAction [] clickAction = new HUDClickAction[0]
 
- Public Attributes inherited from ORKFramework.HUDElement
bool box = false
 
bool noFlash = false
 
bool outsideBounds = false
 
HUDElementBounds bounds = new HUDElementBounds()
 
bool showBackground = false
 
DisplayImage bg
 
bool expandBoundsBG = false