Universal Camera Controller (2D and 3D)
The CameraController script provides comprehensive camera movement, rotation, and zoom functionality for a Unity project in both 2D and 3D environments.
by Chalice Studios
Price History +
This script controls the camera in a Unity scene, enabling users to move, rotate, and zoom using customizable key bindings. It offers the flexibility to:
- Pan the camera using keyboard inputs or screen edge panning with mouse control.
- Rotate the camera around a defined pivot point or around its own position.
- Zoom in and out with assigned key controls.
- Limit camera movement within a defined boundary range for each axis (X, Y, Z).
- Provides an optional pivot for rotating around specific points in 3D space.