Skip to content

Instantly share code, notes, and snippets.

View JJeonggg's full-sized avatar

JJeonggg

  • Seoul, South Korea
View GitHub Profile
@JJeonggg
JJeonggg / ScrollAndPinch.cs
Created June 11, 2020 05:53 — forked from ditzel/ScrollAndPinch.cs
Pinch and Scroll to Move and Zoom in Unity for Mobile Games
/*
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.
*/
using UnityEngine;
class ScrollAndPinch : MonoBehaviour
@JJeonggg
JJeonggg / ScrollAndPinch.cs
Created June 11, 2020 05:53 — forked from ditzel/ScrollAndPinch.cs
Pinch and Scroll to Move and Zoom in Unity for Mobile Games
/*
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.
*/
using UnityEngine;
class ScrollAndPinch : MonoBehaviour