Third Person Cover Shooter  1.6
CoverShooter.BaseCamera Class Reference

A camera that is pointed at a CharacterMotor. More...

Inheritance diagram for CoverShooter.BaseCamera:
CoverShooter.CharacterCamera CoverShooter.MobileCamera CoverShooter.StrategyCamera CoverShooter.ThirdPersonCamera

Public Member Functions

TargetComponent< T > ()
 Get cached component of the target object. More...
 
override void DeferUpdate (ICharacterController controller)
 Asks the camera to call UpdateAfterCamera on the given controller after the camera does it's update. More...
 
override void UpdateForCharacterMotor ()
 Update performed after the character motor does it's thing. More...
 

Public Attributes

CharacterMotor Target
 Target character motor. More...
 
Action TargetChanged
 Executed on every camera target change. More...
 

Protected Member Functions

virtual void Update ()
 

Detailed Description

A camera that is pointed at a CharacterMotor.

Member Function Documentation

◆ DeferUpdate()

override void CoverShooter.BaseCamera.DeferUpdate ( ICharacterController  controller)
virtual

Asks the camera to call UpdateAfterCamera on the given controller after the camera does it's update.

Implements CoverShooter.CharacterCamera.

◆ TargetComponent< T >()

T CoverShooter.BaseCamera.TargetComponent< T > ( )

Get cached component of the target object.

Type Constraints
T :MonoBehaviour 

◆ Update()

virtual void CoverShooter.BaseCamera.Update ( )
protectedvirtual

◆ UpdateForCharacterMotor()

override void CoverShooter.BaseCamera.UpdateForCharacterMotor ( )
virtual

Update performed after the character motor does it's thing.

Implements CoverShooter.CharacterCamera.

Reimplemented in CoverShooter.ThirdPersonCamera.

Member Data Documentation

◆ Target

CharacterMotor CoverShooter.BaseCamera.Target

Target character motor.

◆ TargetChanged

Action CoverShooter.BaseCamera.TargetChanged

Executed on every camera target change.


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