MovementKit
Loading...
Searching...
No Matches
Hardware devices.

Variables

bool RiverExplorer.Player.PlayerControl.EnableGamepad = true
 
bool RiverExplorer.Player.PlayerControl.EnableKeyboard = true
 
bool RiverExplorer.Player.PlayerControl.EnableKeyboardMovement = true
 
bool RiverExplorer.Player.PlayerControl.EnableLeftXRController = false
 
bool RiverExplorer.Player.PlayerControl.EnableMouse = false
 
bool RiverExplorer.Player.PlayerControl.EnableRightXRController = false
 
bool RiverExplorer.Player.PlayerControl.EnableXRController = false
 
string RiverExplorer.Player.PlayerControl.GamepadPathWindows = "/XInputControllerWindows"
 
string RiverExplorer.Player.PlayerControl.KeyboardPath = "/Keyboard"
 
string RiverExplorer.Player.PlayerControl.MousePath = "/Mouse"
 
string RiverExplorer.Player.PlayerControl.XRControllerPathAny = "/OculusController"
 
string RiverExplorer.Player.PlayerControl.XRControllerPathLeft = "/OculusControllerLeft"
 
string RiverExplorer.Player.PlayerControl.XRControllerPathRight = "/OculusControllerRight"
 

Detailed Description

The devices that can be used to control the player.

Variable Documentation

◆ EnableGamepad

bool RiverExplorer.Player.PlayerControl.EnableGamepad = true
private

When true, enable the use of the gamepad (Xbox controller, ...) When true, enable the use of the gamepad (Xbox controller, ...)

◆ EnableKeyboard

bool RiverExplorer.Player.PlayerControl.EnableKeyboard = true
private

When true, enable the use of the keyboard. When true, enable the use of the keyboard.

◆ EnableKeyboardMovement

bool RiverExplorer.Player.PlayerControl.EnableKeyboardMovement = true
private

When true, enable the use of the keyboard for movement.

◆ EnableLeftXRController

bool RiverExplorer.Player.PlayerControl.EnableLeftXRController = false
private

When true, enable the usage of the LEFT XR controller (Left Oculus controller, ...) Only used when EnableXRController is also true.

See also
EnableXRController
EnableRightXRController

◆ EnableMouse

bool RiverExplorer.Player.PlayerControl.EnableMouse = false
private

When true, enable the use of the mouse.

◆ EnableRightXRController

bool RiverExplorer.Player.PlayerControl.EnableRightXRController = false
private

When true, enable to usage of the RIGHT XR controller (right Oculus controller, ...) Only used when EnableXRController is also true.

See also
EnableXRController
EnableLeftXrController

◆ EnableXRController

bool RiverExplorer.Player.PlayerControl.EnableXRController = false
private

When true, enable the usage of the XR controllers (Oculus Controllers, ...) This must be true, to enable ether the LEFT or RIGHT XR Controller.

See also
EnableLeftXRController
EnableRightXRController When true, enable the usage of the XR controllers (Oculus Controllers, ...)

◆ GamepadPathWindows

string RiverExplorer.Player.PlayerControl.GamepadPathWindows = "/XInputControllerWindows"
private

This is the path used by the Unity input actions for a gamepad on windows.

◆ KeyboardPath

string RiverExplorer.Player.PlayerControl.KeyboardPath = "/Keyboard"
private

This is the path used by the Unity input actions for the keyboard.

◆ MousePath

string RiverExplorer.Player.PlayerControl.MousePath = "/Mouse"
private

This is the path used by the Unity input actions for the mouse.

◆ XRControllerPathAny

string RiverExplorer.Player.PlayerControl.XRControllerPathAny = "/OculusController"
private

This is the path used by Unity input actions for any XR controller.

◆ XRControllerPathLeft

string RiverExplorer.Player.PlayerControl.XRControllerPathLeft = "/OculusControllerLeft"
private

This is the path used by Unity input actions for LEFT XR controller.

◆ XRControllerPathRight

string RiverExplorer.Player.PlayerControl.XRControllerPathRight = "/OculusControllerRight"
private

This is the path used by Unity input actions for any XR controller.