added comments of bug on script and added basic menus, will need functioning selecting to complete them

This commit is contained in:
Lorenzo
2022-04-04 16:00:54 +02:00
parent 0ace8baa66
commit c5c5693078
331 changed files with 60678 additions and 805 deletions

View File

@@ -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