ORK Framework  2.22.0
API Documentation
ORKFramework.MoveToInteractionSettings Class Reference
Inheritance diagram for ORKFramework.MoveToInteractionSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool CancelMovement ()
 
- 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 useMoveToInteraction = false
 
float defaultInteractionRadius = 1
 
float defaultStopDistance = 1
 
float interactionDistance = 0.1f
 
bool ignoreHeightDistance = true
 
bool noMoveWhenCloser = true
 
MoveComponentType compType = MoveComponentType.Default
 
bool compAdd = false
 
float navMeshSampleDistance = 5
 
int navMeshSampleAreaMask = NavMesh.AllAreas
 
string compName = ""
 
string compSpeedMethod = ""
 
string compPositionMethod = ""
 
string compStopMethod = ""
 
MoveSpeed speed = new MoveSpeed(MoveSpeedType.Run, 5)
 
bool blockPlayer = false
 
bool blockCamera = false
 
int[] cancelKeyID = new int[0]
 

Member Function Documentation

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.