Struct SortingGroup | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct SortingGroup

    This is a flag component that marks the start of a sorting group in a hierarchy. You only need to add this component to the head node (entity) in a group, but that entity must also have a Transform component.

    Sorting groups allow you to sort the group head's descendants indepenently. Whatever sorting you apply to the overall hierarchy also happens locally within the group.

    Namespace: Unity.Tiny.Core2D
    Syntax
    public struct SortingGroup : IComponentData
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023