Struct SortLayer | 2D Entities | 0.22.0-preview.8
docs.unity3d.com
    Show / Hide Table of Contents

    Struct SortLayer

    Namespace: Unity.U2D.Entities
    Syntax
    public struct SortLayer : IComponentData

    Fields

    Id

    Id that maps to UnityEngine.SortingLayer.id

    Declaration
    public int Id
    Field Value
    Type Description
    Int32

    Layer

    First, sort by layer.

    Declaration
    public short Layer
    Field Value
    Type Description
    Int16

    Order

    If layer values are equal, sort by order.

    Declaration
    public short Order
    Field Value
    Type Description
    Int16
    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