Disclosure: This website contains affiliate links, which means we may receive a commission if you click a link and purchase something through our website. Purchasing assets through our links won’t cost you any extra money and will help fund the hosting and development of this site.
A simple script to control the camera. Place the CameraOperate script from this resource on the Camera, which can do the same as the unity editor. < br / >
The direct application of the CameraOperate script will facilitate the overall presentation of the scenes after the operation. This script can also be applied to your project with minor changes
1. Right click and press + mouse to move so that the lens to rotate
2. Press the mouse wheel + mouse to move so that the lens to translation
3. Right mouse button + keyboard w s a d (+leftShift) so that the lens to move
4. the mouse wheel rolling so that the lens forward and backward