![]() |
ORK Framework
2.31.0
API Documentation
|
Public Member Functions | |
override void | SetData (DataObject data) |
Sets the variables of the class using a ORKFramework.DataObject. More... | |
GameObject | CreatePrefabInstance (BattleGridCellComponent cell) |
bool | CanMoveFrom (BattleGridCellComponent fromCell) |
float | GetMoveCost (Combatant user, BattleGridCellComponent cell, BattleGridCellComponent fromCell) |
float | GetActionCost (Combatant user, BattleGridCellComponent cell, BattleGridCellComponent fromCell) |
![]() | |
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 | |
GridCellPrefab | prefab = new GridCellPrefab() |
Vector3 | highlightPositionOffset = Vector3.zero |
Vector3 | highlightRotationOffset = Vector3.zero |
Vector3 | lineHighlightPositionOffset = Vector3.zero |
GameObject | editorPrefab |
GridCellPrefab [] | randomPrefab = new GridCellPrefab[0] |
bool | usePositionOffset = false |
Vector3 | positionOffset = Vector3.zero |
LocalSpace | localPosition = new LocalSpace(false) |
bool | blocked = false |
bool | passable = false |
bool | blockDiagonalMove = true |
GridDeploymentCell | deployment = new GridDeploymentCell() |
FloatValue | moveCost = new FloatValue(1) |
FloatValue | actionCost = new FloatValue(0) |
GridCellTypeCost [] | cellTypeCost = new GridCellTypeCost[0] |
bool | useObjectVariables = false |
ObjectVariableSetting | objectVariables |
GridCellEvent [] | cellEvent = new GridCellEvent[0] |
|
virtual |
Sets the variables of the class using a ORKFramework.DataObject.
data | ORKFramework.DataObject containing the data. |
Reimplemented from ORKFramework.BaseData.