Skip to content

Instantly share code, notes, and snippets.

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