文档

Unity Engine

Unity Engine

GetRenderingLayerCount()

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

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static int GetRenderingLayerCount()

Returns

Type

Description

intThe number of all existing Rendering Layers.