GameObjectListContainer¶
A container backed by a simple list of GameObjects.
Namespace: Jungle.Objects
Inherits: GameObjectContainer → ItemContainer → MonoBehaviour
Overview¶
GameObjectListContainer is the standard container for holding a runtime list of GameObjects. Items can be pre-assigned in the Inspector or added/removed at runtime via the ItemContainer API. Supports an optional capacity limit. Events fire on add/remove for reactive workflows.
Properties¶
| Property | Type | Description |
|---|---|---|
| items | List<GameObject> |
Items currently in this container. Can be pre-assigned in the inspector. |
| capacity | int |
Maximum number of items. -1 for unlimited. |