Files
2026-02-21 16:46:09 -08:00

20 lines
369 B
C#

/*
* 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;
}
}
}