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

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
void Show (Rect choiceRect, Vector2 fadePos)
void Tick (float t, ref bool fadingBack, ref Vector2 fadePos, ref float time)
RectTransform CreateObject (GameObject parent)
void SetObjectPosition (RectTransform iconObject, Vector2 fadePos, Rect buttonBounds, Rect contentBounds, float scroll, bool isFocused)
- 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

AssetSource< Texture > icon = new AssetSource<Texture>()
TextAnchor anchor = TextAnchor.MiddleCenter
TextAnchor choiceAnchor = TextAnchor.MiddleLeft
bool showUnfocused = false
Vector2 offset = Vector2.zero
bool fadePosition = false
Vector2 fadeOffset = Vector2.zero
float fadeTime = 1
EaseType interpolate = EaseType.Linear
EaseType interpolateBack = EaseType.Linear

Member Function Documentation

◆ SetData()

override void ORKFramework.ChoiceIconSettings.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.