Skip to content

GameObjectListContainer

A container backed by a simple list of GameObjects.

Namespace: Jungle.Objects
Inherits: JungleBehaviour, implements IItemContainer<GameObject>

Overview

GameObjectListContainer is the standard container for holding a runtime list of GameObjects in a scene. Starting items are set in the Inspector, each picked its own way, and objects are added/removed at runtime. Supports an optional capacity limit and take/store processes. Events fire on add/remove for reactive workflows. Its list logic is shared with GameObjectContainerAsset, the project-asset version.

Properties

Property Type Description
list.items SmartGameObject Starting objects, each picked its own way (direct reference, search, another container). Read on first use.
list.capacity int Maximum number of items. -1 for unlimited.
list.takeProcess / list.storeProcess IProcess Optional processes run when taking or storing an item.

See Also