unity-collection-pool

Installation
SKILL.md

Unity Collection Pool - GC-Free Collection Management

Overview

Unity's UnityEngine.Pool namespace (2021.1+) provides built-in collection pooling to eliminate GC allocations from temporary collection usage.

Foundation Required: unity-csharp-fundamentals (TryGetComponent, FindAnyObjectByType), C# generics, IDisposable pattern

Core Topics:

  • ListPool, HashSetPool, DictionaryPool usage
  • CollectionPool for custom collections
  • ObjectPool for arbitrary objects
  • Pool lifecycle and disposal patterns
  • Memory optimization strategies

Quick Start

ListPool Basic Usage

Related skills

More from creator-hian/claude-code-plugins

Installs
9
GitHub Stars
8
First Seen
Feb 22, 2026