docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PreviousParent

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

    Implements
    ICleanupComponentData
    IComponentData
    IQueryTypeParameter
    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)