文档

Unity Engine

Unity Engine

layer

The layer to use for draw commands in this draw range.
阅读时间1 分钟最后更新于 1 个月前

Definition

public byte layer

Remarks

This corresponds to GameObject.layer and allows you to control which draw commands Unity renders in this draw range.