Skip to main content

FB2ObjectGroupingComponent

Overview

  • Component that manages object grouping.

Metadata

FieldValue
Kindcomponent
EnvironmentB2 - Simulation
Categorycomponents
ExtendsFB2Component
Requirerequire('Components.B2ObjectGroupingComponent')

Properties (5)

NameTypeDescription
ChildrenEntityIdstable<FB1EntityId, boolean>
GroupingEntityIdstable<FB1EntityId, boolean>
OccupiedSlotNamestring
ParentEntityIdFB1EntityId
RootEntityIdFB1EntityId

Functions (11)

FunctionParametersReturnsDescription
GetChildrenEntityIds-table<FB1EntityId, boolean>Returns Children Entity Ids.
GetChildrenObjects-FB2GameObject[]Returns Children Objects.
GetDefaultCityMoveDataPolicy-EB1CityMoveDataPolicyReturns Default City Move Data Policy.
GetGroupingEntityIds-table<FB1EntityId, boolean>Returns Grouping Entity Ids.
GetGroupingObjects-FB2GameObject[]Returns Grouping Objects.
GetOccupiedSlotName-stringReturns Occupied Slot Name.
GetParentEntityId-FB1EntityIdReturns Parent Entity Id.
GetParentObject-FB2GameObjectReturns Parent Object.
GetRootEntityId-FB1EntityIdReturns Root Entity Id.
GetRootObject-FB2GameObjectReturns Root Object.
SetOccupiedSlotNameInSlotName: string-Sets Occupied Slot Name.