ORK Framework  2.34.0
API Documentation
ORKFramework.GridMoveHeightLimit Class Reference
Inheritance diagram for ORKFramework.GridMoveHeightLimit:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool Check (Combatant combatant, BattleGridCellComponent origin, BattleGridCellComponent target)
 
- 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 limitUpwardMove = false
 
FloatValue maxUpwardDistance = new FloatValue(1)
 
bool limitDownwardMove = false
 
FloatValue maxDownwardDistance = new FloatValue(1)
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.