WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

PhilSA/PoolTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creating a pool

GameObjectPool<MyPoolable> myPool = new GameObjectPool<MyPoolable>();
myPool.CreatePool(50, MyPrefab, true, AutoResize, 1.5f);

Spawning from a pool

if (myPool.SpawnPoolable(out MyPoolable f))
{
    // Spawn successful
}

Recycling to pool

myPoolable.Pool.RecyclePoolable(myPoolable.IndexInPool);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages