Следующее

Pinch to Zoom and Panning on Mobile in Unity

3 Просмотры· 11/23/19
Юрий Антипов
Юрий Антипов
2 Подписчики
2

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.

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/07/12/44/pan--zoom.html

MORE TUTORIALS:
https://pressstart.vip/tutorials/view-all

MOBILE JOYSTICK TUTORIAL:
https://pressstart.vip/tutorials/2018/06/22/39/mobile-joystick-in-unity.html

ORTHOGRAPHIC SIZE EXPLANATION:
https://pressstart.vip/tutorials/2018/06/6/37/understanding-orthographic-size.html

HIDDEN FOLKS:
http://www.astoldbywaldo.com/games/2018/05/21/36/hidden-folks.html

Показать больше

 0 Комментарии sort   Сортировать по


Следующее