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) 2013 Calvin Rien | |
* | |
* Based on the JSON parser by Patrick van Bergen | |
* http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html | |
* | |
* Simplified it so that it doesn't throw exceptions | |
* and can be used in Unity iPhone with maximum code stripping. | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining |
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
#!/usr/bin/env bash | |
function dumpBundle { | |
FILE=$1 | |
OUTDIR=$2 | |
LZMADIR=$3 | |
OUTPATH="$OUTDIR/$FILE" | |
LZMAPATH="$LZMADIR/$FILE" | |
mkdir -p $(dirname "$OUTPATH") |
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
0416b73daaf34f08cbb16e30d27056680d3c7dcb78b963f9002bfd609f0ecb6f5b5e85eb59bf317fc2dbda632655380dd09962d3e16d7576dbbe9b1f4ca710d57e;scohoe |
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; | |
[CustomPropertyDrawer(typeof(Matrix4x4))] | |
public class MatrixPropertyDrawer : PropertyDrawer | |
{ | |
const float CELL_HEIGHT = 16; | |
Rect position; | |
SerializedProperty property; |