This file contains hidden or 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 Parse; | |
| // Parse for Unity3d stops responding if it gets initialized twice | |
| // or the original initialization goes away (e.g., you leave the scene) | |
| // so use this instead of the regular ParseInitializeBehaviour, and | |
| // throw it in every scene that you need to talk to Parse in | |
| public class ParseSafeInitializeBehaviour : ParseInitializeBehaviour { |
This file contains hidden or 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 Parse; | |
| // Parse stops responding if it gets initialized twice or the original initialization goes away (e.g., you leave the scene) | |
| // so use this instead of the regular ParseInitializeBehaviour, and throw it in every scene that you access Parse from | |
| public class ParseSafeInitializeBehaviour : ParseInitializeBehaviour { | |
| public static bool IsAlreadyAlive; |
This file contains hidden or 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
| | | |
| | | |
| | | |
| CC | | |
| | | |
| | | |
| CC | | |
| | | |
| | | |
| CC | |
This file contains hidden or 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
| r | |
| OXO | |
| [N] | |
| $P$ | |
| $P$ | |
| $$$ | |
| $ | |
| fff | |
| 222 | |
| eEe |
This file contains hidden or 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.Linq; | |
| public class BulkMaterialCreator : ScriptableWizard | |
| { | |
| public Shader Shader; |
This file contains hidden or 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; | |
| [System.Serializable] | |
| public class Character { | |
| public CharacterType CharacterType; | |
| public Sprite DefaultSprite; | |
| public string PortraitSpriteName; | |
| public string WalkAnimationName { |
This file contains hidden or 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 AccelerometerAdapter : MonoBehaviour { | |
| public const float TILT_SENSITIVITY = 1.5f; | |
| public Vector3 Input { | |
| get { | |
| if (SystemInfo.supportsAccelerometer) { | |
| return UnityEngine.Input.acceleration * TILT_SENSITIVITY; |
This file contains hidden or 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; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| public class DudeDeathController : MonoBehaviour { | |
| ... | |
| public void Die() { | |
| DudeMotionArrester.SlowToStop(); | |
| Animator.Play("DudeDie"); |
This file contains hidden or 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 "Unlit/TransparentFlashFX" { | |
| Properties { | |
| _Color ("Color Tint", Color) = (1,1,1,1) | |
| _MainTex ("SelfIllum Color (RGB) Alpha (A)", 2D) = "white" | |
| } | |
| Category { | |
| Lighting On | |
| ZWrite Off | |
| Cull Back | |
| Blend SrcAlpha OneMinusSrcAlpha |
This file contains hidden or 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
| // | |
| // MapViewController.m | |
| // placesihavepooped | |
| // | |
| // Created by Michael Judge on 6/16/13. | |
| // Copyright (c) 2013 Michael Judge. All rights reserved. | |
| // | |
| #import "MapViewController.h" |