Struct PreviousParent
Utility component used by the ParentSystem to detect changes to an entity's Parent.
Namespace: Unity.Transforms
Assembly: Unity.Transforms.dll
Syntax
[Serializable]
public struct PreviousParent : ICleanupComponentData, IComponentData, IQueryTypeParameter
Remarks
The ParentSystem automatically adds and manages this component. You shouldn't add, remove, or modify it in your code.
Fields
| Name | Description |
|---|---|
| Value | The previous parent entity |