ORK Framework  2.25.2
API Documentation
ORKFramework.FlyingTextSettings Class Reference
Inheritance diagram for ORKFramework.FlyingTextSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 FlyingTextSettings (string t)
 
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
void ShowText (string info, GameObject gameObject)
 
void ShowNumber (int info, GameObject gameObject)
 
void ShowText (string info, Combatant combatant)
 
void ShowNumber (int info, Combatant combatant)
 
void ShowText (string info, Combatant combatant, TextFormat textFormat)
 
void ShowNumber (int info, Combatant combatant, TextFormat textFormat)
 
- 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, "%")
 
bool countToValue = false
 
float startCountFrom = 0
 
EaseType countInterpolate = EaseType.Linear
 
float countTime = 1.0f
 
AssetSource< ORKMoveEventmoveEvent = new AssetSource<ORKMoveEvent>()
 
float destroyTime = 3
 
AssetSource< GUISkin > textSkin = new AssetSource<GUISkin>()
 
TextFormatSetting textFormat = TextFormatSetting.Default
 
bool ownPositionSettings = false
 
FlyingTextPositionSettings positionSettings
 
bool useFlash = false
 
bool flashChildren = false
 
bool shared = false
 
bool setProp = false
 
string prop = ""
 
bool isFloat = false
 
FadeColorSettings flash
 

Properties

GUISkin GUISkin [get]
 
FlyingTextPositionSettings Position [get]
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.