ContainerComponent - acrimi/Raven GitHub Wiki

Extends ChildLinkedComponent

ContainerComponent functions alongside ContainableComponent to represent a specific parent-child relationship wherein one entity is considered to be contained inside another.

Configuration

This component doesn't accept any configuration parameters

Properties

The following properties are readable by property accessors (eg render state and persistence definitions):

Key Type Description
childId* int The id of the entity contained by this component, or -1 if the component has no contents.
hasChild* boolean True if this component is not empty.

* from ChildLinkedComponent

⚠️ **GitHub.com Fallback** ⚠️