using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SelfDelete : MonoBehaviour {

	// Delete out of screen contents to save memory
	void Update () {
		if (gameObject.transform.position.x < -20.0f || gameObject.transform.position.y < - 20.0f) {
			Destroy (gameObject);
		}
	}
}
