/* * Credit to: * http://blog.boredmormongames.com/2014/08/object-pooling.html */ using UnityEngine; using System.Collections; namespace Com.LuisPedroFonseca.ProCamera2D.TopDownShooter { public class PoolMember : MonoBehaviour { public Pool pool; void OnDisable() { pool.nextThing = gameObject; } } }