View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.0
- Last updated
- First released
- Unity version
- 2022.3.62 or later
- Package size
- 304 KB
- Files
- 38
- Favorites
- 2
- Views in the past week
- 12
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
SimplePooling
Easily implement object pooling to any project, supporting any type of prefabs and scripts.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 8
SimplePooling screenshot 1
About this asset
Is your game having constant lag spikes? Garbage collection constantly triggering? Hundreds or thousands of objects being spawned very second?
Use SimplePooling to easily reduce your games computing resources consumption.
Simply replace any Instantiate and Destroy calls with SimplePoolings equivalent static methods.
No need to drop any objects into your current scene, a complete c# solution.
Example Usages, demos and documentation included.
Features:
- Automatically create pools for a chosen prefab.
- Pools can return any script or component on the prefab, or just the gameobject itself.
- Can assign functions that trigger when the pool creates a new item, reactives an old item, or destroys the object due to excessive spawning.
- Supports child object pooling for prefabs that spawn cluster of the same objects.
- Pooler instantiate equivalent supports the 5 common override:
- GameObject
- GameObject, Transform
- GameObject, Transform, WorldSpace
- GameObject, Vector3, Rotation
- GameObject, Vector3, Rotation, Transform
- Preload x amount of objects.
- Clear or Destroy Pools.
- Set Pools to be DontDestroyOnLoad
- Can store the local pool instance, having equivalent methods to all of Pooler's static methods and more
- Directly retrieve object from pool
- Modify pool spawn, retrieve, destroy functions
- Get count of all, active and inactive objects in pool
From the publisher's Asset Store listing.
Technical details
-This package should work in any unity version that support unity's ObjectPool class
-This package's Sample folders depends on the TextMeshPro package to be installed in order to function
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.3.10f1 | Compatible | Compatible | Compatible | Compatible |
| 2022.3.62f3 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.