added comments of bug on script and added basic menus, will need functioning selecting to complete them
This commit is contained in:
@@ -1,20 +1,3 @@
|
||||
/*
|
||||
Original Script By: Ditzel
|
||||
Youtube Video Link: https://www.youtube.com/watch?v=KkYco_7-ULA&ab_channel=DitzelGames
|
||||
Uses of this script:
|
||||
For controlling camera movement: Pan, zoom and rotate
|
||||
How to use:
|
||||
Set this on an empty game object positioned at (0,0,0) and attach your active camera.
|
||||
The script only runs on mobile devices or the remote app.
|
||||
DecreaseCameraPanSpeed - The more the value, the greater it slows the pan speed
|
||||
Upper height (Zoom out restriction) - Relative to camera position (not worldspace)
|
||||
Lower height (Zoom in restriction) - Relative to camera position (not worldspace)
|
||||
------[CHANGE LOG]------
|
||||
Edited by Kudoshi : 24/3/2021
|
||||
- Added Zoom In Out restriction
|
||||
- Added camera pan speed
|
||||
*/
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
class ScrollAndPinch : MonoBehaviour
|
||||
|
||||
Reference in New Issue
Block a user