Skip to content

Instantly share code, notes, and snippets.

View alasdairhurst's full-sized avatar
🦊
On GitLab

Alasdair alasdairhurst

🦊
On GitLab
View GitHub Profile
{
"swagger": "2.0",
"x-an-extension-null": null,
"x-an-extension-primitive": 1,
"x-an-extension-array": [],
"x-an-extension-object": {},
"host": "localhost:8080",
"basePath": "/test",
"schemes": [
"http",
{
"swagger": "2.0",
"x-an-extension-null": null,
"x-an-extension-primitive": 1,
"x-an-extension-array": [],
"x-an-extension-object": {},
"host": "localhost:8080",
"basePath": "/test",
"schemes": [
"http",
using UnityEngine;
using System.Collections;
public class MouseMoveTransform : MonoBehaviour {
Vector3 oldMousePos;
public float Speed = 1;
void Start() {
oldMousePos = Input.mousePosition;