Kanda Players 0.7.0
|
Static Public Attributes | |
const string | AssetPath = SettingsStandardPaths.AssetAppSettings + "/PlayerBehaviourSettings" |
The standard path where this asset should be stored. | |
Properties | |
float | InteractionPredictionRange = 10f [get, set] |
Interactables within this distance should be predicted, making them more responsive at the cost of increased CPU load. | |
float | PCMoveSensitivity = 2f [get, set] |
Sensitivity value for PC Movement using keyboard. | |
float | PCPanSensitivity = 1f [get, set] |
Sensitivity value for PC panning using keyboard. | |
float | PCSprintMultiplier = 4f [get, set] |
Multiplier value for when PC player sprinting using Left Shift key. | |
float | PCMouseSensitivity = 0.1f [get, set] |
Sensitivity value for PC rotation using mouse. | |
float | PCMouseMaxVerticalDirection = 1f [get, set] |
Max vertical direction on PC when using mouse. | |
float | PCHeadColliderRadius = 1f [get, set] |
Collider radius for PC Player Head. | |
bool | UsePCInputForXR = false [get, set] |
If true this lets the VR Head be moved using PC Keyboard and Mouse input. | |
float | VirtualXRDefaultHeight = 1.7f [get, set] |
Default camera height when using PC Input for XR. | |
float | VirtualXRMoveSensitivity = 0.05f [get, set] |
Move sensitivity value when using PC Input for XR. | |
float | VirtualXRLookSensitivity = 0.01f [get, set] |
Look sensitivity value when using PC Input for XR. | |
float | VirtualXRHandsForwardOffset = 0.5f [get, set] |
How far virtual XR hands should offset ahead of the head. | |
float | VirtualXRHandsSideOffset = 0.4f [get, set] |
How far virtual XR hands should offset to the sides of the head. | |
float | VirtualXRHandsDownOffset = 0.2f [get, set] |
How far virtual XR hands should offset downward of the head. | |
Vector3 | VirtualXRHandRotationOffset = new Vector3(-55, 40, 3) [get, set] |
Rotation offset of the virtual XR hands from the forward direction. | |
string | MockLocalPlayerId = "mock-user" [get, set] |
Mock the local player Id to be shown in PlayerInfo. This is useful for testing with multiple Unity editors. | |
string | MockLocalPlayerName = "Player" [get, set] |
Mock the local player name to be shown in PlayerInfo. | |
![]() |
|
getset |
Interactables within this distance should be predicted, making them more responsive at the cost of increased CPU load.
Implements IPlayerBehaviourSettings.
|
getset |
Mock the local player Id to be shown in PlayerInfo. This is useful for testing with multiple Unity editors.
Implements IPlayerBehaviourSettings.
|
getset |
Mock the local player name to be shown in PlayerInfo.
Implements IPlayerBehaviourSettings.
|
getset |
Collider radius for PC Player Head.
Implements IPlayerBehaviourSettings.
|
getset |
Max vertical direction on PC when using mouse.
Implements IPlayerBehaviourSettings.
|
getset |
Sensitivity value for PC rotation using mouse.
Implements IPlayerBehaviourSettings.
|
getset |
Sensitivity value for PC Movement using keyboard.
Implements IPlayerBehaviourSettings.
|
getset |
Sensitivity value for PC panning using keyboard.
Implements IPlayerBehaviourSettings.
|
getset |
Multiplier value for when PC player sprinting using Left Shift key.
Implements IPlayerBehaviourSettings.
|
getset |
If true this lets the VR Head be moved using PC Keyboard and Mouse input.
Implements IPlayerBehaviourSettings.
|
getset |
Default camera height when using PC Input for XR.
Implements IPlayerBehaviourSettings.
|
getset |
Rotation offset of the virtual XR hands from the forward direction.
Implements IPlayerBehaviourSettings.
|
getset |
How far virtual XR hands should offset downward of the head.
Implements IPlayerBehaviourSettings.
|
getset |
How far virtual XR hands should offset ahead of the head.
Implements IPlayerBehaviourSettings.
|
getset |
How far virtual XR hands should offset to the sides of the head.
Implements IPlayerBehaviourSettings.
|
getset |
Look sensitivity value when using PC Input for XR.
Implements IPlayerBehaviourSettings.
|
getset |
Move sensitivity value when using PC Input for XR.
Implements IPlayerBehaviourSettings.