Skip to content

Instantly share code, notes, and snippets.

View xyberviri's full-sized avatar

James Velasquez xyberviri

View GitHub Profile
@xyberviri
xyberviri / FlyCamera.cs
Created February 22, 2019 21:04 — forked from Mahelita/FlyCamera.cs
New Script FlyCamera add to any camera obj: instant unity editor style wasd rightclick debug cam
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.
Extended by Mahelita 08-01-18.
@xyberviri
xyberviri / FlyCamera.cs
Created February 22, 2019 21:05 — 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
@xyberviri
xyberviri / OpenSimplexNoise.cs
Created July 5, 2020 23:09 — forked from digitalshadow/OpenSimplexNoise.cs
OpenSimplex Noise Refactored for C#
/* OpenSimplex Noise in C#
* Ported from https://gist.github.com/KdotJPG/b1270127455a94ac5d19
* and heavily refactored to improve performance. */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
namespace NoiseTest