文档

Unity Engine

Unity Engine

value

This is the relative value that indicates the sort order of this layer relative to the other layers.
阅读时间1 分钟最后更新于 1 天前

Definition

public int value { get; }

Remarks

You may use this to determine the sort order of the layer. Additional Resources: SortingLayer.GetLayerValueFromID.