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

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool Detected (Combatant owner, Combatant 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

MoveDetectionType type = MoveDetectionType.Sight
 
CombatantTriggerCheck combatantTrigger
 
string fromChild = ""
 
RaycastLOS raycastLOS = new RaycastLOS()
 
float minSpeed = 1
 
bool horizontalSpeed = false
 
Range range = new Range(20)
 
float angle = 360
 
float angleOffset = 0
 
HorizontalPlaneType horizontalPlane = HorizontalPlaneType.XZ
 

Member Function Documentation

override void ORKFramework.AI.MoveDetection.SetData ( DataObject  data)
virtual

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.