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 "Hidden/Anaglyph Effect" { | |
Properties { | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
} | |
SubShader { | |
Pass { | |
ZTest Always Cull Off ZWrite Off | |
Fog { Mode off } | |
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 UnityEditor; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
public static class SKTextureUtil | |
{ |
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; | |
public class CustomCursor : MonoBehaviour { | |
public Texture2D cursor; | |
public int width = 32; | |
public int height = 32; | |
// void Start() { | |
// Screen.lockCursor = true; |
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
/* | |
Copyright (c) 2008, Rune Skovbo Johansen & Unity Technologies ApS | |
See the document "TERMS OF USE" included in the project folder for licencing details. | |
*/ | |
using UnityEngine; | |
using System.Collections; | |
public class Util { | |
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; | |
public class PlatformCharacterController : MonoBehaviour { | |
private CharacterMotor motor; | |
public float walkMultiplier = 0.5f; | |
public bool defaultIsWalk = false; | |
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; | |
public abstract class CharacterMotor : MonoBehaviour { | |
public float maxForwardSpeed = 1.5f; | |
public float maxBackwardsSpeed = 1.5f; | |
public float maxSidewaysSpeed = 1.5f; | |
public float maxVelocityChange = 0.2f; | |
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; | |
[RequireComponent(typeof(Rigidbody))] | |
[RequireComponent(typeof(CapsuleCollider))] | |
public class PhysicsCharacterMotor : CharacterMotor { | |
public float maxRotationSpeed = 270; | |
public bool useCentricGravity = false; | |
public LayerMask groundLayers; |
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
Show hidden characters
{ | |
"folders": | |
[ | |
{ | |
"path": "/Users/bronson/Developer/ProjectName" | |
} | |
], | |
"settings": | |
{ |
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
Library/* | |
Temp/* | |
iOS-Build/* | |
*/DerivedData/* | |
*.booproj | |
*.csproj | |
*.sln | |
*.userprefs | |
*.pidb | |
*.unityproj |
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; | |
public class Audio : MonoBehaviour { | |
// Use this for initialization | |
void Start () { | |
PureData.initPd(44100, 32, 2, 2); | |
PureData.openFile("BasicSynth.pd"); | |
PureData.startAudio(); |