Version: 2023.2
public byte layer ;

描述

The layer to use for draw commands in this draw range.

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