{{description>Discover Prefab Pool for efficient GameObject management in Unity. Enjoy auto item creation & manage count constraints for optimized performance.}} ======Prefab Pool====== Play Mode only. A pool for UnityEngine.GameObject instances. For more information about pooling, please refer to [[documentation:performancetips:start#pooling|this]] ===== Reference ===== ====General==== ==Auto Create Items== Automatically create items when an item is requested and none is available ==Auto Enable/Disable Items== Automatically disable objects when entering the pool and enable them when leaving it ==Debug mode== Log operations and show pooled objects in the hierarchy ====Item Count Constraints==== ==Minimum Count== Minimum number of items in the pool ==Maximum Count== Maximum number of items in the pool ==Adjustment Interval== Number of seconds between item count adjustments. If 0, adjustments are instantaneous. ==Initialize Constrained== Initialize the pool with its item count already within the constraints