Skip to content

Instantly share code, notes, and snippets.

View Bocom's full-sized avatar

Benjamin Röjder Delnavaz Bocom

View GitHub Profile
@poemdexter
poemdexter / ScreenShake.cs
Last active August 29, 2015 13:57
BE LIKE VLAMBEER TODAY!!!
using UnityEngine;
using System.Collections;
public class Screenshake : MonoBehaviour
{
public float shakeAmount = 0.7f;
public float decreaseFactor = 1.0f;
private float shake;
private bool shakeEnded = true;