This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Adapted from: https://wiki.unity3d.com/index.php/MouseOrbitImproved | |
//License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) | |
//https://creativecommons.org/licenses/by-sa/3.0/ | |
//Link to demo: https://youtu.be/I_7PyyzziTY | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class CameraOrbit : MonoBehaviour |