Files

20 lines
369 B
C#
Raw Permalink Normal View History

2026-02-21 16:40:15 -08:00
/*
* 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;
}
}
}