Skip to content

Instantly share code, notes, and snippets.

View IamIsPra's full-sized avatar
🧔
WFH

Isuru Prabath IamIsPra

🧔
WFH
View GitHub Profile
@IamIsPra
IamIsPra / FlyCamera.cs
Created October 1, 2019 05:44 — forked from gunderson/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.
Simple flycam I made, since I couldn't find any others made public.
Made simple to use (drag and drop, done) for regular keyboard layout