Third Person Cover Shooter  1.6
CoverShooter.ThirdPersonInput Class Reference

Takes player input and transform it to commands to ThirdPersonController. More...

Inheritance diagram for CoverShooter.ThirdPersonInput:

Public Attributes

bool FastMovement = true
 Is character running instead of walking when moving. More...
 
bool WalkWhenZooming = true
 Is character slowing to to a walk when zooming in. More...
 
ThirdPersonCamera CameraOverride
 Camera to rotate around the player. More...
 
float HorizontalRotateSpeed = 2.0f
 Multiplier for horizontal camera rotation. More...
 
float VerticalRotateSpeed = 1.0f
 Multiplier for vertical camera rotation. More...
 
float ZoomRotateMultiplier = 1.0f
 Multiplier to rotation speeds when zooming in. More...
 
bool RotateWhenUnlocked = false
 Is camera responding to mouse movement when the mouse cursor is unlocked. More...
 
float DoubleTapDelay = 0.3f
 Maximum time in seconds to wait for a second tap to active rolling. More...
 
CustomAction [] CustomActions
 Keys to be pressed to activate custom actions. More...
 
GameObject Disabler
 Input is ignored when a disabler is active. More...
 

Protected Member Functions

virtual void UpdateCustomActions ()
 
virtual void UpdateMovement ()
 
virtual void UpdateClimbing ()
 
virtual void UpdateCover ()
 
virtual void UpdateJumping ()
 
virtual void UpdateCrouching ()
 
virtual void UpdateGrenade ()
 
virtual void UpdateAttack ()
 
virtual void UpdateRolling ()
 
virtual void UpdateWeapons ()
 
virtual void UpdateReload ()
 
virtual void UpdateTarget ()
 
virtual void UpdateCamera ()
 

Properties

ThirdPersonCamera Camera [get]
 Camera moved by this input component. More...
 

Detailed Description

Takes player input and transform it to commands to ThirdPersonController.

Member Function Documentation

◆ UpdateAttack()

virtual void CoverShooter.ThirdPersonInput.UpdateAttack ( )
protectedvirtual

◆ UpdateCamera()

virtual void CoverShooter.ThirdPersonInput.UpdateCamera ( )
protectedvirtual

◆ UpdateClimbing()

virtual void CoverShooter.ThirdPersonInput.UpdateClimbing ( )
protectedvirtual

◆ UpdateCover()

virtual void CoverShooter.ThirdPersonInput.UpdateCover ( )
protectedvirtual

◆ UpdateCrouching()

virtual void CoverShooter.ThirdPersonInput.UpdateCrouching ( )
protectedvirtual

◆ UpdateCustomActions()

virtual void CoverShooter.ThirdPersonInput.UpdateCustomActions ( )
protectedvirtual

◆ UpdateGrenade()

virtual void CoverShooter.ThirdPersonInput.UpdateGrenade ( )
protectedvirtual

◆ UpdateJumping()

virtual void CoverShooter.ThirdPersonInput.UpdateJumping ( )
protectedvirtual

◆ UpdateMovement()

virtual void CoverShooter.ThirdPersonInput.UpdateMovement ( )
protectedvirtual

◆ UpdateReload()

virtual void CoverShooter.ThirdPersonInput.UpdateReload ( )
protectedvirtual

◆ UpdateRolling()

virtual void CoverShooter.ThirdPersonInput.UpdateRolling ( )
protectedvirtual

◆ UpdateTarget()

virtual void CoverShooter.ThirdPersonInput.UpdateTarget ( )
protectedvirtual

◆ UpdateWeapons()

virtual void CoverShooter.ThirdPersonInput.UpdateWeapons ( )
protectedvirtual

Member Data Documentation

◆ CameraOverride

ThirdPersonCamera CoverShooter.ThirdPersonInput.CameraOverride

Camera to rotate around the player.

If set to none it is taken from the main camera.

◆ CustomActions

CustomAction [] CoverShooter.ThirdPersonInput.CustomActions

Keys to be pressed to activate custom actions.

◆ Disabler

GameObject CoverShooter.ThirdPersonInput.Disabler

Input is ignored when a disabler is active.

◆ DoubleTapDelay

float CoverShooter.ThirdPersonInput.DoubleTapDelay = 0.3f

Maximum time in seconds to wait for a second tap to active rolling.

◆ FastMovement

bool CoverShooter.ThirdPersonInput.FastMovement = true

Is character running instead of walking when moving.

◆ HorizontalRotateSpeed

float CoverShooter.ThirdPersonInput.HorizontalRotateSpeed = 2.0f

Multiplier for horizontal camera rotation.

◆ RotateWhenUnlocked

bool CoverShooter.ThirdPersonInput.RotateWhenUnlocked = false

Is camera responding to mouse movement when the mouse cursor is unlocked.

◆ VerticalRotateSpeed

float CoverShooter.ThirdPersonInput.VerticalRotateSpeed = 1.0f

Multiplier for vertical camera rotation.

◆ WalkWhenZooming

bool CoverShooter.ThirdPersonInput.WalkWhenZooming = true

Is character slowing to to a walk when zooming in.

◆ ZoomRotateMultiplier

float CoverShooter.ThirdPersonInput.ZoomRotateMultiplier = 1.0f

Multiplier to rotation speeds when zooming in.

Speed is already adjusted by the FOV difference.

Property Documentation

◆ Camera

ThirdPersonCamera CoverShooter.ThirdPersonInput.Camera
get

Camera moved by this input component.


The documentation for this class was generated from the following file: