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

Public Member Functions

 GUIBoxFade (bool isClose)
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
void PlayAudioClip ()
- 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< AudioClip > audioClip = new AssetSource<AudioClip>()
float audioVolume = 1.0f
bool useFade = false
float fadeDelay = 0
FadeColorSettings fade = new FadeColorSettings(0.3f, 0, 1)
bool useMove = false
bool moveRelative = false
float moveDelay = 0
bool useMoveCurve = false
AnimationCurve moveCurveX
AnimationCurve moveCurveY
float moveTime = 0.3f
Vector2 movePosition = Vector2.zero
EaseType moveInterpolation = EaseType.Linear
bool useScale = false
TextAnchor scaleAnchor = TextAnchor.MiddleCenter
float scaleDelay = 0
bool useScaleCurve = false
AnimationCurve scaleCurveX
AnimationCurve scaleCurveY
float scaleTime = 0.3f
Vector2 scale = new Vector2(0.5f, 0.5f)
EaseType scaleInterpolation = EaseType.Linear

Member Function Documentation

◆ SetData()

override void ORKFramework.GUIBoxFade.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.