My Project
Loading...
Searching...
No Matches
CameraController.BaseCamera Class Referenceabstract
Inheritance diagram for CameraController.BaseCamera:
CameraController.Camera2D CameraController.Camera3D CameraController.FirstPersonCamera CameraController.ThirdPersonCamera

Protected Member Functions

virtual void Awake ()
virtual void Update ()
virtual void FixedUpdate ()
virtual void LateUpdate ()
virtual void UpdateCamera ()
 Update the camera and the target follower position.
void UpdateFollowerPosition ()
 Update the position of the target follower.
void UpdateCameraPosition ()
 Update the position of the camera.
float GetDeltaTime ()
 Get the deltatime based on the cuurent followmode.

Protected Attributes

Transform target
Transform targetFollower
Transform cameraTransform
Vector3 offset
FollowMode followMode
float followDamping
Vector3 followSmoothDampVelocity

Private Attributes

new Camera camera

Member Function Documentation

◆ UpdateCamera()

virtual void CameraController.BaseCamera.UpdateCamera ( )
protectedvirtual

Update the camera and the target follower position.

Reimplemented in CameraController.Camera2D, and CameraController.Camera3D.


The documentation for this class was generated from the following file:
  • CameraController/Script/Camera/BaseCamera.cs