◆ SetSpeed()
void FirstPersonController.SetSpeed |
( |
| ) |
|
◆ animator
Animator FirstPersonController.animator |
◆ bobAmount
Vector3 FirstPersonController.bobAmount = new Vector3(.15f, .05f, 0f) |
◆ bobSpeed
float FirstPersonController.bobSpeed = 10f |
◆ cameraCanMove
bool FirstPersonController.cameraCanMove = true |
◆ crosshair
bool FirstPersonController.crosshair = true |
◆ crosshairColor
Color FirstPersonController.crosshairColor = Color.white |
◆ crosshairImage
Sprite FirstPersonController.crosshairImage |
◆ crosshairObject
Image FirstPersonController.crosshairObject |
◆ crouchHeight
float FirstPersonController.crouchHeight = .75f |
◆ crouchKey
KeyCode FirstPersonController.crouchKey = KeyCode.LeftControl |
◆ enableCrouch
bool FirstPersonController.enableCrouch = true |
◆ enableHeadBob
bool FirstPersonController.enableHeadBob = true |
◆ enableJump
bool FirstPersonController.enableJump = true |
◆ enableSprint
bool FirstPersonController.enableSprint = true |
◆ enableZoom
bool FirstPersonController.enableZoom = true |
◆ fov
float FirstPersonController.fov = 60f |
◆ hideBarWhenFull
bool FirstPersonController.hideBarWhenFull = true |
◆ holdToCrouch
bool FirstPersonController.holdToCrouch = true |
◆ holdToZoom
bool FirstPersonController.holdToZoom = false |
◆ invertCamera
bool FirstPersonController.invertCamera = false |
◆ isGrounded
bool FirstPersonController.isGrounded = false |
◆ joint
Transform FirstPersonController.joint |
◆ jumpKey
KeyCode FirstPersonController.jumpKey = KeyCode.Space |
◆ jumpPower
float FirstPersonController.jumpPower = 5f |
◆ lockCursor
bool FirstPersonController.lockCursor = true |
◆ maxLookAngle
float FirstPersonController.maxLookAngle = 50f |
◆ maxVelocityChange
float FirstPersonController.maxVelocityChange = 10f |
◆ mouseSensitivity
float FirstPersonController.mouseSensitivity = 2f |
◆ playerCamera
Camera FirstPersonController.playerCamera |
◆ playerCanMove
bool FirstPersonController.playerCanMove = true |
◆ speedReduction
float FirstPersonController.speedReduction = .5f |
◆ sprintBar
Image FirstPersonController.sprintBar |
◆ sprintBarBG
Image FirstPersonController.sprintBarBG |
◆ sprintBarCG
CanvasGroup FirstPersonController.sprintBarCG |
◆ sprintBarHeightPercent
float FirstPersonController.sprintBarHeightPercent = .015f |
◆ sprintBarWidthPercent
float FirstPersonController.sprintBarWidthPercent = .3f |
◆ sprintCooldown
float FirstPersonController.sprintCooldown = .5f |
◆ sprintDuration
float FirstPersonController.sprintDuration = 5f |
◆ sprintFOV
float FirstPersonController.sprintFOV = 80f |
◆ sprintFOVStepTime
float FirstPersonController.sprintFOVStepTime = 10f |
◆ sprintKey
KeyCode FirstPersonController.sprintKey = KeyCode.LeftShift |
◆ sprintSpeed
float FirstPersonController.sprintSpeed = 7f |
◆ unlimitedSprint
bool FirstPersonController.unlimitedSprint = false |
◆ useSprintBar
bool FirstPersonController.useSprintBar = true |
◆ walkSpeed
float FirstPersonController.walkSpeed = 5f |
◆ zoomFOV
float FirstPersonController.zoomFOV = 30f |
◆ zoomKey
KeyCode FirstPersonController.zoomKey = KeyCode.Mouse1 |
◆ zoomStepTime
float FirstPersonController.zoomStepTime = 5f |
The documentation for this class was generated from the following file: