文档

Unity Engine

Unity Engine

SortingLayerRange(short, short)

Sets the inclusive range for a sorting layer object.
阅读时间1 分钟最后更新于 1 个月前

Definition

public SortingLayerRange(short lowerBound, short upperBound)

Parameters

lowerBound

Lowest sorting layer value to include.

upperBound

Highest sorting layer value to include.

Remarks

Additional Resources: SortingLayerRange.lowerBound, Additional Resources: SortingLayerRange.upperBound.