Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Camera
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/8
Drag and drop script enables RTS style camera. Features: Example Scenes, Zoom, Mobile/Touch compatible, Cam Dolly system, Area Snapping, Track Smoothing
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2020.3.32f1
Compatible
Compatible
Compatible
2020.3.16f1
Compatible
Compatible
Compatible
2020.1.1f1
Compatible
Compatible
Compatible
Description

An RTS style camera for 2D applications with drag panning, zooming and area clamping. Perfect for RTS or platform type games



Examples:


WebGL Example


Features:


- Limit Camera to rectangular area with easy to manipulate editor controls


- Panning speed, Zooming Limit, Zoom Speed, drag speed all adjustable from the editor.


- GUI based camera Dolly track system with integrated editor GUI controls


- Automatic smoothing, Straightening of track and time scaling


- Set the camera to traverse the track over a set time or tracked an object


- 4 Example scenes included with asset (Camera Dolly | Follow Player | RTS Style | Snap Box)


- Customizable in scene GUI plus much more.


How To:


- Simply add the Drag Camera 2D script to your main camera and you are ready to drag and go.


- Adding bounds is done via a click of the Add bounds button and an in scene adjustment to mark out the area.


- Using the dolly track is just as easy with the add dolly button and the easy to use in scene controls to adjust your track.



Asset Goals


The main goal of this asset is to allow the user to simple add this script to a camera and have the camera respond to user click and drag movements without any coding.


The act of dragging the camera (panning horizontally or vertically) with the mouse or keyboard input has been added to the script which can be added to a camera to allow the user to manipulate the view based on the users click and drag movement.


The camera can have limits set to stop the camera being dragged out of the desired viewing area.


The camera can zoom in and out with the scroll wheel with limits on minimum and maximum zoom as well as setting the amount to zoom in and out with each increment of the scroll wheel.



Visit www.gamedevelopment.blog to find out more.


Technical details
  • Drag and Drop Script (no coding needed)
  • Camera Bounds (lock camera view within bounds)
  • Zoom (Zoom In/Out with mouse or touch)
  • Double Click Actions (Zoom to point or toggle zoom levels)
  • Follow Object (follow an object by dropping object in inspector)
  • Camera Dolly (Advanced Camera Track dolly system)
  • Automatic Track Smoothing (1 button track smoothing)
  • Automatic Track Straightening(1 button to straigten track)

Drag Camera 2D Pro

(3)
24 users have favourite this asset
(24)
$14.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
6.9 MB
Latest version
1.7.2
Latest release date
Apr 4, 2022
Original Unity version
2020.1.1
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR