Struct Child
Contains a buffer of all elements which have assigned this entity as their Parent.
Namespace: Unity.Transforms
Assembly: Unity.Transforms.dll
Syntax
[Serializable]
[InternalBufferCapacity(8)]
public struct Child : ICleanupBufferElementData, IBufferElementData
Remarks
The ParentSystem automatically adds and manages this component and its contents. You can read this list, but you shouldn't add or remove buffer elements.
When an entity with this component is destroyed, the ParentSystem will automatically remove the Parent components from each child entity.
Fields
Name | Description |
---|---|
Value | A child entity |