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 |