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
var express = require('express'), | |
form = require('connect-form'), | |
fs = require('fs'), | |
util = require('util'); | |
var app = express.createServer( | |
form({keepExtensions: true}) | |
); | |
// switch between development and production like this: |
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
// https://gist.github.com/FreyaHolmer/650ecd551562352120445513efa1d952 | |
using UnityEngine; | |
[RequireComponent(typeof(Camera))] | |
public class FlyCamera : MonoBehaviour | |
{ | |
public float acceleration = 50; // how fast you accelerate | |
public float accSprintMultiplier = 4; // how much faster you go when "sprinting" | |
public float lookSensitivity = 1; // mouse look sensitivity |