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/4
“Generic Move Camera” is a utility script that allows you to move Unity’s camera around the scene. It's a really quick design for helping an author create a camera they can use to move through a scene. You could use it for a full project, but I'd recommend reimplementing it to use only the features you need.

It implements these features:
Note: Should work in Unity 4.0 or better.
• Fully customizable; ability to change the key/mouse mapping to anything you want. Keys mention below are the script’s defaults.
• Allow more than one Generic Move Camera script in the same scene, such as local multi-player games, to use different input systems to move independent cameras or similar capabilies. • Ability to keep the camera level.
• Ability to turn the script on/off at runtime to, for example, prevent camera movements during text inputs, etc.
• Ability to move forward or backward using to different methods; (Default w/s or scroll wheel).
• Ability to pan left or right. (Default: a/d)
• Ability to pan up or down.(Default: q/z)
• Ability to rotate the camera using the mouse. The script uses “mouse2” (by default) to allow “mouse1” for your actions, but you can use either.
• Ability to fix the camera on another object and specify the zoom in/out ranges.
• Ability to specify the zoom range while locked on another object.
• Ability to freeze the movement. (Default: “space”)
• Ability to lock the camera’s X, Y or Z to any point or within a given range.
• Use dampening to slow movement down before stopping.
• Ability to specify different sensitivities to move faster or slower depending on scene size.
• Comes with a default key/mouse mapping using Unity’s input system, but can be replaced by any input system of your choice. All you need to do is set various bool or vector2’s through a call at the start of the update system.
• Manually call the camera movements to have additional automation.
• v1.3 Added (Jan 2018) "Level Camera Angle Threshold" to prevent the camera from spinning wildly when "level camera" is ON, and the camera is pointing vertical.

Generic Move Camera

(56)
406 users have favourite this asset
(406)
FREE
License type
File size
455.4 KB
Latest version
1.3.1d
Latest release date
Jan 11, 2018
Original Unity version
5.6.3 or higher
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