Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetLastDefinedRenderingLayerIndex()

Returns an index of the last defined Rendering Layer in the Tags and Layers manager.
Read time 1 minuteLast updated 6 days ago

Definition

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

Returns

Type

Description

intIndex of the last defined Rendering Layer.