Skip to content

samizzo/TypeSafeObjectPool

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

TypeSafeObjectPool

This project is an example of a type-safe object pool for Unity. This was written as a companion to the blog post here:

https://www.horsedrawngames.com/type-safe-object-pool-for-unity/

To see the example, load the TypeSafeObjectPool scene in Unity and hit play. Click anywhere in the game window to spawn a particle effect pulled from the pool.

To see an example of a non-type safe object pool, load the BasicObjectPool scene.

The type-safe generic object pool is ObjectPool. The non-type safe version is BasicObjectPool.

About

An example of a type-safe object pool for Unity.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages