⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    ScenePoolHandler ScriptableObject

    Overview

    The ScenePoolHandler behaviour manages PooledObject prefab spawning and reuse within a scene.

    Inspector

    ScenePoolHandler

    Properties

    Name Type Description
    Add Prefab PooledObject Adds a prefab to the pools list below, using the new pool size setting.
    Add Folder Folder Adds all the prefabs within the folder and all its sub-folders to the pools list below, using the new pool size setting.
    New Pool Size Integer The pool size to use for any new tools added to the pools list below.
    Collections PooledObjectCollection Array The collections of pooled objects to set up at initialisation.
    Pools Pool Info Array The pools to set up at initialisation.

    Pool Info

    Name Type Description
    Prototype PooledObject The prefab object to spawn.
    Count Int The number of objects to instantiate for the pool.

    See Also

    PooledObject

    PoolManager

    Utilities

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