|
| override void | UpdateCamera () |
| | Update the camera and the target follower position.
|
|
override void | UpdateFollowerPosition () |
|
override void | UpdateCameraPosition () |
|
virtual void | Awake () |
|
virtual void | Update () |
|
virtual void | FixedUpdate () |
|
virtual void | LateUpdate () |
|
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.
|
|
|
void | Start () |
|
void | OnEnable () |
|
void | OnDisable () |
|
void | SetLookAheadDir (InputAction.CallbackContext context) |
|
void | LookAhead () |
|
float | GetLookAhead (float currentLookAhead, float maxLookAhead, float damping) |
|
|
static void | CreateCamera () |
|
|
bool | offsetFollowMovement |
|
float | offsetDamping |
|
float | offsetDir = 1f |
|
InputActionReference | lookAheadInput |
|
Vector2 | maxLookAhead |
|
float | lookAheadDamping |
|
Vector2 | lookAheadDir |
|
Vector2 | lookAhead |
|
Vector3 | currentOffset |
|
|
Transform | target |
|
Transform | targetFollower |
|
Transform | cameraTransform |
|
Vector3 | offset |
|
FollowMode | followMode |
|
float | followDamping |
|
Vector3 | followSmoothDampVelocity |
◆ UpdateCamera()
| override void CameraController.Camera2D.UpdateCamera |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file:
- CameraController/Script/Camera/Camera2D.cs