Skip to content

Instantly share code, notes, and snippets.

View Event Mesesenger Listener
using UnityEngine;
using System.Collections;
namespace Util {
// =========================================================================
public class EventListener<T> where T: GameEvent {
public T receivedEvent;
@insominx
insominx / RandomShake.cs
Created May 16, 2013
Unity3D Camera Shake using random.
View RandomShake.cs
using UnityEngine;
using System.Collections;
public class RandomShake : MonoBehaviour {
public float duration = 0.5f;
public float magnitude = 0.1f;
public bool test = false;