Camera Extensions
Shake
This calls the Shake extension method on the main camera, causing it to shake for some seconds with a specified magnitude, creating a dynamic effect often used for impacts or explosive events.
Move To
This calls the MoveTo extension method on the main camera, smoothly moving it to the specified target position at a specified speed per second.
Rotate To
This calls the RotateTo extension method on the main camera, smoothly rotating it towards the specified target rotation at a specified speed per second.
Follow
This calls the Follow extension method on the main camera, positioning it to follow the specified target (e.g., the player) with a defined offset.
Follow Smooth
This calls the FollowSmooth extension method on the main camera, smoothly transitioning to follow the specified target with the given speed and offset, providing a more fluid movement.
Zoom In
This calls the ZoomIn extension method on the main camera, moving it towards the target position while decreasing the orthographic size (zooming in) to the specified zoom level at the defined speed.
Zoom Out
This calls the ZoomOut extension method on the main camera, moving it towards the target position while increasing the orthographic size (zooming out) to the specified zoom level at the defined speed.
Last updated