LinkedEntityGroup
The LinkedEntityGroup buffer makes the entity be the root of a set of connected entities.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Struct
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Implements: IBufferElementData
[InternalBufferCapacity(0)]public struct LinkedEntityGroup : IBufferElementData
Remarks
Referenced Prefabs automatically add a LinkedEntityGroup with the complete child hierarchy. EntityManager.Instantiate uses LinkedEntityGroup to instantiate the whole set of entities automatically. EntityManager.SetEnabled uses LinkedEntityGroup to enable the whole set of entities.
Fields
Value | Description |
|---|---|
| Value | A child entity. |
Operators
Operator | Description |
|---|---|
| LinkedEntityGroup | Provides implicit conversion of an Entity to a LinkedEntityGroup element. |