Makihiro
Makihiro
I would like to have such an API for simpler object return to a pool. ### Fluid Syntax ```cs // When an instance is disabled, it is returned to a...
Implementing a static container that contains the pool allows the pool to be shared. Must add the `T Original { get; }` property to the `IUnityObjectPool`. ```cs IPool pool =...
### Before ```cs public struct ProjectileRequest { public int power; public float speed; } public void Shoot (ProjectileRequest request) { var projectile = m_ProjectilePool.Rent(position,rotation); projectile.Power = request.power; projectile.Speed = request.speed;...