ORK Framework  2.29.0
API Documentation
ORKFramework.UI.NewUIButtonSettings Class Reference
Inheritance diagram for ORKFramework.UI.NewUIButtonSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
void SetData (DataObject data, string prefabName, string fadeName)
- 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< GameObject > prefab = new AssetSource<GameObject>()
ChildColorFadeMode fadeMode = ChildColorFadeMode.None
bool useInactiveColor = false
Color inactiveColor = new Color(1, 1, 1, 0.5f)

Member Function Documentation

◆ SetData()

override void ORKFramework.UI.NewUIButtonSettings.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.