Pinch to Zoom and Panning on Mobile in Unity

Опубликовано: 02 Ноябрь 2024
на канале: Press Start
31,934
712

In this tutorial I explain how to write a C# script that will allow you to pinch to zoom and pan around the screen for a mobile or touch screen device.
SUBSCRIBE: https://bit.ly/2Js78lE
============
In this video I will show you:

1:00 How to build a script to pan around the screen
3:07 How to zoom using the mouse's scroll wheel
5:13 How to zoom using the pinch technique

COPY & PASTE SOURCE CODE:
https://pressstart.vip/tutorials/2018...

MORE TUTORIALS:
https://pressstart.vip/unity-tutorials