Skip to content

Instantly share code, notes, and snippets.

View tolgayilmaz86's full-sized avatar
🏠
Working from home

Tolga YILMAZ tolgayilmaz86

🏠
Working from home
  • Freelance
  • The Netherlands
  • 10:29 (UTC +02:00)
  • LinkedIn in/tlgylmz
View GitHub Profile
// Credit to damien_oconnell from http://forum.unity3d.com/threads/39513-Click-drag-camera-movement
// for using the mouse displacement for calculating the amount of camera movement and panning code.
using UnityEngine;
using System.Collections;
public class MoveCamera : MonoBehaviour
{
//