View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1.3
- Last updated
- First released
- Unity version
- 2022.3.31 or later
- Package size
- 184 KB
- Files
- 25
- Favorites
- 16
- Views in the past week
- 6
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
All In One Top Down Camera Controller [2D]
- Price drop
Cinemachine compatible movement and scroll zoom to point system + bezier curve follower
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 4
All In One Top Down Camera Controller [2D] screenshot 1
About this asset
This prefab provides an easy-to-use movement and scroll zoom system for your Unity games. Simply drag and drop it into your scene and it will automatically set up the necessary components.
Benefits:
- Easy to Use: Drag and drop the prefab into your scene and it's ready to go.
- Customizable: Adjust the zoom speed, limits, Cinemachine integration and toggle features to suit your game's needs.
- Versatile: Supports different movement mechanics and can be used for various purposes, such as camera control or character zooming.
- Bezier Curve Follower: Easily set objects to follow a predefined Bezier curve path. Ideal for smooth, dynamic motion. Customize speed, looping, and direction directly within the inspector.
- Dynamic support: You are able to get quick support via discord or contact form if the package doesn't work on your system/unity version.
Usage:
- Drag and drop the prefab into your scene.
- Adjust the variables in the script to customize the zoom/movement behavior.
Note: The prefab uses the new Input System and Cinemachine packages. Make sure to import them into your project if you haven't already.
From the publisher's Asset Store listing.
Technical details
- Input System Scroll Detection: Detects scroll wheel input along with touchpad input and translates it into zoom commands.
- Custom Actions File: Includes a separate actions file that allows you to customize the zoom and movement behavior.
- Adjustable Zoom Speed: Control the speed of the zoom using the "Zoom Speed" variable.
- Adjustable Movement Speed: Control the base movement speed using the "Movement Speed" variable, with additional options for speed progression via animation curves.
- Max Zoom Delta: Limit the maximum amount of zoom by setting the "Max Zoom Delta" variable to prevent excessive zooming.
- Zoom Levels: Define the minimum and maximum zoom levels using the "Min" and "Max" values in the "Zoom Levels" struct.
- Cinemachine Compatibility: Works seamlessly with Cinemachine's virtual cameras for compatibility with its addons/components (Including confiners).
- Smooth Zoom Functionality: Supports smooth zoom transitions, which can be enabled or disabled with the "Use Smooth Zoom" toggle.
- Inertia for Camera Movement: Smooth deceleration of camera movement when no input is detected, configurable with the "Inertia Duration" variable.
- Edge Scrolling: Allows camera movement when the mouse is near the screen edges, with adjustable speed and threshold for detection.
- Mouse Drag Movement: Enables drag-based camera movement with smooth follow-up, allowing for precise manual control over camera position.
- Zoom Location Adjustment: Ensures that the camera zoom focuses on a specific world target, maintaining the zoom's position relative to the screen-space position of the mouse.
- External Movement Delta: Supports external forces (e.g., external inputs) to modify camera position during zooming or movement, ensuring the camera reacts to dynamic changes.
- Cinemachine Confiner Support: Supports Cinemachine’s confiner feature for keeping the camera within specified bounds in a 2D environment.
- Customizable Movement Curves: Uses customizable animation curves for movement speed adjustments based on elapsed time, enhancing dynamic control over movement speed.
Bezier Curve Creator & Follower:
- Bezier Path Creation: Easily create and edit Bezier curves within the Unity editor using intuitive handles and control points.
- Dynamic Object Following: Assign objects to follow a predefined Bezier path with customizable speed and looping options.
- Editor Visualization: Visualize curves and object paths directly in the editor for precise adjustments.
- Flexible Behavior: Configure objects to change speed along the path dynamically.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.2.14f1 | Compatible | Compatible | Compatible | Compatible |
| 6000.0.39f1 | Compatible | Compatible | Compatible | Compatible |
| 2022.3.31f1 | Compatible | Compatible | Compatible | Compatible |
If the package does not work on your version, you can contact the support via the link provided in the package README.
As listed on the Asset Store.