文档

Unity Engine

Unity Engine

GetRenderingLayerCount()

Returns a number of Rendering Layers defined in the Tags and Layers manager including empty ones.
阅读时间1 分钟最后更新于 1 天前

Definition

public static int GetRenderingLayerCount()

Returns

Type

Description

intThe number of all existing Rendering Layers.