ORK Framework  2.24.0
API Documentation
ORKFramework.InteractionSettings Class Reference
Inheritance diagram for ORKFramework.InteractionSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
void AddInteractionController (GameObject player)
 
void RemoveInteractionController (GameObject player)
 
- 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

int interactKey = 3
 
int maxSteps = 100
 
float maxClickDistance = 3
 
LayerMask clickLayerMask = -1
 
float clickRayDistance = 100.0f
 
bool addIC = false
 
AssetSource< GameObject > icPrefab
 
MountSettings icMount = new MountSettings()
 
MoveToInteractionSettings moveToInteraction = new MoveToInteractionSettings()
 

Member Function Documentation

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.