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

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
void PlaySelectAudio ()
 
void PlayAcceptAudio ()
 
void PlayCancelAudio ()
 
void PlayFailAudio ()
 
void SelectCell (BattleGridCellComponent startCell, BattleGridCellComponent currentCell, SelectGridCellBool selectCell, SelectGridCell acceptCell, GridCellCheck acceptCheck, SelectGridDirection selectDirection, bool neighbourMode, bool blockDiagonalDistance1)
 
- 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

bool useInputSelection = false
 
int verticalAxisID = 0
 
int horizontalAxisID = 0
 
float axisMinimum = 0.3f
 
bool useCameraDirection = false
 
float cameraDirectionOffset = 0
 
float cursorTimeout = 0.25f
 
MouseTouchControl mouseTouch = new MouseTouchControl()
 
bool mouseHoverSelect = false
 
bool mouseHoverUIBlock = false
 
bool mouseMoveOnly = false
 
bool mouseAcceptOnlySelected = false
 
bool mouseLimitSelectionRange = false
 
float mouseSelectionRange = 5.0f
 
AssetSource< AudioClip > selectAudio = new AssetSource<AudioClip>()
 
float selectVolume = 1.0f
 
bool playHoverSelectAudio = false
 
AssetSource< AudioClip > acceptAudio = new AssetSource<AudioClip>()
 
float acceptVolume = 1.0f
 
AssetSource< AudioClip > cancelAudio = new AssetSource<AudioClip>()
 
float cancelVolume = 1.0f
 
AssetSource< AudioClip > failAudio = new AssetSource<AudioClip>()
 
float failVolume = 1.0f
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.