canto/Assets/Scripts/System/PooledObject.cs
2025-08-14 19:11:32 -04:00

15 lines
278 B
C#

using UnityEngine;
using UnityEngine.Pool;
namespace KitsuneCafe.Sys
{
public class PooledObject : MonoBehaviour
{
public IObjectPool<GameObject> objectPool;
public void Release()
{
objectPool.Release(gameObject);
}
}
}