Skip to content

Instantly share code, notes, and snippets.

@Crushy
Crushy / MoveTransform.cs
Last active June 1, 2018 21:00
Meant to be used with Easing functions. See http://easings.net/ for examples. Graphs should vary from x=0 to x=1.
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class MoveTransform : IActivated {
public Transform objectMoved;
public ColliderEnterExitMovements enter, leave;
@bcatcho
bcatcho / ScriptableObj2Asset Readme.md
Created January 26, 2014 20:18
This utility script will give you an option in the Assets/Create menu that will allow one to instantiate a selected scriptable object script and save it as an asset. It also works by right clicking on the file in the project window and selecting

What it does

This script provides a context menu item in the Project window (as well as an extra option in the Assets>Create menu) that will instantiate the selected Scriptable object and save it as an asset to a folder of your choosing.

How to install

Throw this script in any folder called Editor in your assets folder.

How to use

@bcatcho
bcatcho / gist:3741315
Created September 18, 2012 04:47
UDK Camera
/**
* Camera: defines the Point of View of a player in world space.
* Copyright 1998-2012 Epic Games, Inc. All Rights Reserved.
*/
class Camera extends Actor
notplaceable
native(Camera)
dependson(EngineBaseTypes)
transient;