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
using UnityEngine; | |
[RequireComponent(typeof(Camera))] | |
public class MousePan : MonoBehaviour { | |
#region Settings | |
//Default middle mouse | |
public int mouseKey = 2; |
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
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Text; | |
using System; | |
[RequireComponent(typeof(dfRichTextLabel))] | |
public class InGameDebug : MonoBehaviour { | |
private Queue<string> myLogQueue = new Queue<string>(); | |
private string output = ""; |
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
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
public class MoveTransform : IActivated { | |
public Transform objectMoved; | |
public ColliderEnterExitMovements enter, leave; |
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
using UnityEngine; | |
using System.Collections; | |
/// <summary> | |
/// Choose the material's index and plot away how it's UVs should behave | |
/// </summary> | |
[RequireComponent(typeof(Renderer))] | |
public class AnimateUVs : MonoBehaviour { | |
[System.Serializable] |
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
Shader "Tri-Planar Bumped" { | |
Properties { | |
_Side("Side", 2D) = "white" {} | |
_BumpMap ("Bumpmap", 2D) = "bump" {} | |
_Top("Top", 2D) = "white" {} | |
_SideScale("Side Scale", Float) = 2 | |
_TopScale("Top Scale", Float) = 2 | |
} | |
SubShader { |
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
/* This program is free software. It comes without any warranty, to | |
* the extent permitted by applicable law. You can redistribute it | |
* and/or modify it under the terms of the Do What The Fuck You Want | |
* To Public License, Version 2, as published by Sam Hocevar. See | |
* http://www.wtfpl.net/ for more details. */ | |
using UnityEngine; | |
using System.Collections; | |
using System.IO; |
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
using UnityEngine; | |
using UnityEngine.Events; | |
public class CallFunctionOnStart : MonoBehaviour { | |
public UnityEvent events; | |
void Start () { | |
events.Invoke(); | |
} |
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
Begin Object Class=MaterialGraphNode_Root Name="MaterialGraphNode_Root_0" | |
Begin Object Class=EdGraphPin Name="EdGraphPin_28022" | |
End Object | |
Begin Object Class=EdGraphPin Name="EdGraphPin_28021" | |
End Object | |
Begin Object Class=EdGraphPin Name="EdGraphPin_28020" | |
End Object | |
Begin Object Class=EdGraphPin Name="EdGraphPin_28019" | |
End Object | |
Begin Object Class=EdGraphPin Name="EdGraphPin_28018" |