jobjectpool
CommunityThread-safe Unity object pooling.
AuthorJasonXuDeveloper
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the frequent allocations and GC spikes in Unity games by providing a thread-safe, zero-GC object pooling system that reuses objects like bullets, enemies, and effects.
Core Features & Use Cases
- Thread-safe pooling: Rent and return objects across threads without locking hazards.
- Zero-GC design: Reduces per-frame allocations to minimize garbage collection pauses.
- Flexible lifecycle: Supports onRent and onReturn callbacks, Prewarm, and shared pools for simple types.
- Use Case: In a fast-paced shooter, reuse bullets and particle effects to maintain smooth frame rates.
Quick Start
Create a JObjectPool<T> for a specific type, configure maxSize and callbacks, then Rent objects when needed and Return them after use.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: jobjectpool Download link: https://github.com/JasonXuDeveloper/JEngine/archive/main.zip#jobjectpool Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.