文档

Unity Engine

Unity Engine

userData

User-provided identifier set at draw time via the userData parameter of APIs such as DrawMesh.
阅读时间1 分钟最后更新于 1 个月前

Definition

public int userData { get; }

Remarks

Defaults to
0
for draws made without an explicit userData.