Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 975 Bytes

File metadata and controls

38 lines (23 loc) · 975 Bytes

A generic object pooling to unity 3d

The proposal here was to create a simple generic pooling to be used in 2d unity projects.

Instead of creating and destroying new objects all the time, this script reduces garbage by pooling instances, allowing you to seemingly create hundreds of new objects while only actually using a recycled few.

Demo

Take a look on live demo.

How to use

It's possible to use directly the GenericPooling.cs script or extending this script to specialize yours.

Compatility

Any devices

How to improve it?

Create a fork of unity-pooling.

Did you change it? submit a pull request.

License

Licensed under the MIT License.

Change Log

0.0.1 First version.