ORK Framework  2.26.1
API Documentation
ORKFramework.MousePlayerControlSettings Class Reference
Inheritance diagram for ORKFramework.MousePlayerControlSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

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

MouseTouchControl mouseTouch = new MouseTouchControl(true)
float raycastDistance = 100.0f
LayerMask layerMask = -1
AssetSource< GameObject > cursorObject = new AssetSource<GameObject>()
bool cursorRespawn = false
Vector3 cursorOffset = Vector3.zero
float minimumMoveDistance = 0.2f
bool ignoreHeightDistance = true
MouseControlMoveType mouseMoveType = MouseControlMoveType.CharacterController
float navMeshSampleDistance = 1.0f
int navMeshSampleAreaMask = NavMesh.AllAreas
bool secureMove = false
float secureTime = 0.5f
bool autoRemoveCursor = true
bool autoRemoveCursorTarget = true
bool autoStopMove = true

Member Function Documentation

◆ SetData()

override void ORKFramework.MousePlayerControlSettings.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.