Volgende

Pinch and Scroll to Move and Zoom in Unity for Mobile Games

4 Bekeken· 23 Nov 2019
Юрий Антипов
1
In anders

This time I will go back to my roots and give you guys a deeper look in mobile development with unity. Besides first or third person there are possibilities to use top down cameras.

I will show how pinch, scrool and zoom can be translated into movement, rotation and zoom in Unity. This all works like in google maps or any photos app. The position you are touching the content will stick to your finger. You can than move them together to in the opposite direction.

The script is ready to go.

Script: https://gist.github.com/ditzel/836bb36d7f70e2aec2dd87ebe1ede432
Unity Remote: https://docs.unity3d.com/Manual/UnityRemote5.html

#ditzelgames #unity #gamedev

Laat meer zien

 0 Comments sort   Sorteer op


Volgende