{{description>Maximize game performance with ComponentPool instances for Unity. Use auto creation, enable/disable items, and manage item counts.}} ======Component Pool====== Play Mode only. A pool for UnityEngine.ComponentPool 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