docs.unity.cn
    Show / Hide Table of Contents

    Struct PreviousParent

    Utility component used by the ParentSystem to detect changes to an entity's Parent.

    Namespace: Unity.Transforms
    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

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023