⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    PooledObject MonoBehaviour

    Overview

    The PooledObject behaviour is used to manage object lifecycle for a reusable object. It is managed by the PoolManager.

    Inspector

    PooledObject

    Properties

    Name Type Description
    On Overflow Dropdown What should happen if you request an object from the pool when all of its items are in use. Grow means the pool will expand and add new items. Recycle means that the pool will return the oldest active pooled object (make sure to reset it). ReturnNull means the pool will return null as the result (make sure to handle this case as it could cause errors).

    See Also

    PoolManager

    Utilities

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX