Skip to content

Instantly share code, notes, and snippets.

View imwangji's full-sized avatar
🕹️
Focus on building App

王吉 imwangji

🕹️
Focus on building App
View GitHub Profile
@imwangji
imwangji / FlyCamera.cs
Created October 21, 2021 06:34 — 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