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
type RecordIndex = i32; | |
type ContentIndex = i32; | |
type Bytes = Vec<u8>; | |
/// IJ has the notion of "enumerations" which are basically fast bimaps between a value of | |
/// arbitrary type and an integer, and support automatically adding new values which | |
/// get an auto-incremented integer value. | |
type Enumeration<A> = BiMap<A, i32>; |
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 System.IO; | |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.iOS.Xcode; | |
using UnityEditor.Callbacks; | |
using System.Collections; | |
public class XcodeSettingsPostProcesser | |
{ |
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; | |
/// http://www.mikedoesweb.com/2012/camera-shake-in-unity/ | |
public class ObjectShake : MonoBehaviour { | |
private Vector3 originPosition; | |
private Quaternion originRotation; | |
public float shake_decay = 0.002f; |