ORK Framework  2.29.0
API Documentation
ORKFramework.TargetRaycast Class Reference
Inheritance diagram for ORKFramework.TargetRaycast:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
void Start (Combatant user)
 
void Stop (Combatant user)
 
bool NeedInteraction ()
 
void Tick (Combatant user)
 
void GetAIPoint (Combatant user, GameObject target, BaseAction action)
 
- 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 active = false
 
float distance = 100.0f
 
LayerMask layerMask = -1
 
bool ignoreUser = false
 
bool clampToUseRange = true
 
TargetRayOrigin rayOrigin = TargetRayOrigin.User
 
string pathToChild = ""
 
Vector3 offset = Vector3.zero
 
Vector3 rayDirection = Vector3.forward
 
bool blockPlayerControl = false
 
bool blockCameraControl = false
 
bool rotateToRaycast = false
 
bool autoTarget = true
 
string pathToTarget = ""
 
Vector3 targetOffset = Vector3.zero
 
bool useMousePosition = false
 
bool mouseOnlyPlayer = true
 
Vector3 screenOffset = Vector3.zero
 
MouseTouchControl mouseTouch = new MouseTouchControl()
 
CursorChange cursorChange = new CursorChange()
 
bool useRayCursor = false
 
AssetSource< GameObject > rayCursorPrefab
 
Vector3 rayCursorOffset = Vector3.zero
 
bool useInputKeys = false
 
float inputCursorSpeed = 3
 
CursorInput cursorInput
 
bool useUserHighlight = false
 
HighlightGameObjectSetting userHighlight
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.