simple camera controller for players that also manages cursor lock in the editor
https://adventure.softleitner.com/manual
|
void | OnInput (InputAction.CallbackContext context) |
|
void | OnInput (InputValue value) |
|
void | OnInput (Vector2 value) |
|
|
float | PitchMin = -30f |
|
float | PitchMax = 70f |
|
bool | InvertX = false |
|
bool | InvertY = true |
|
float | SpeedX = 1f |
|
float | SpeedY = 1f |
|
LayerMask | ObstructionLayers = 0 |
|
float | ObstructionDistanceMin = 1f |
|
float | ObstructionDistanceMax = 10f |
|
float | ObstructionDistanceLift = 1f |
|
|
virtual bool | IsSuspended [get, set] |
|