Unity logo
取消
购物车
应用
Sell Assets

11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
工具
镜头
此内容由第三方提供商托管,该第三方提供商在未接受Targeting Cookies的情况下不允许观看视频。如果您想观看来自这些提供商的视频,请将“Targeting Cookie”的Cookie偏好设置为“是”。
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
许可证类型
文件大小
455.4 KB
最新版本
1.3.1d
最新发布日期
2018年1月11日
原始 Unity 版本
5.6.3
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR