Skip to content

Instantly share code, notes, and snippets.

View divide-by-zero's full-sized avatar

ksz divide-by-zero

View GitHub Profile
@divide-by-zero
divide-by-zero / BlurTest.cs
Last active May 30, 2016 20:02
Animation Sprite Blur Effect
using System.Collections.Generic;
using UnityEngine;
using System.Collections;
public class BlurTest : MonoBehaviour {
private SpriteRenderer _spriteRenderer;
private Dictionary<Sprite, Sprite> _blurSprites = new Dictionary<Sprite, Sprite>();
private SpriteRenderer _blurSpriteRenderer;
private Texture2D _blurTexture;