Skip to content

Instantly share code, notes, and snippets.

View SGTMcClain's full-sized avatar
🎯
Focusing

Nathan McClain SGTMcClain

🎯
Focusing
View GitHub Profile
@SGTMcClain
SGTMcClain / FlyCamera.cs
Created March 21, 2019 13:56 — forked from RyanBreaker/FlyCamera.cs
Unity Script to give camera WASD + mouse control
using UnityEngine;
using System.Collections;
public class FlyCamera : MonoBehaviour
{
/*
Writen by Windexglow 11-13-10. Use it, edit it, steal it I don't care.
Converted to C# 27-02-13 - no credit wanted.
Reformatted and cleaned by Ryan Breaker 23-6-18