ORK Framework  2.26.1
API Documentation
ORKFramework.CursorChange Class Reference
Inheritance diagram for ORKFramework.CursorChange:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool SetCursor ()
 
void ResetCursor ()
 
- 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< Texture2D > texture = new AssetSource<Texture2D>()
 
Vector2 hotSpot = Vector2.zero
 
CursorMode cursorMode = CursorMode.Auto
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.