Unity Engine documentationScript ReferenceUnityEngineUnityEngine.RenderingScriptableCullingParameterslayerCountThe amount of layers available.Read time 1 minuteLast updated 5 days agoDefinition Type: Field Namespace: UnityEngine.Rendering Assembly: UnityEngine.CoreModule public static readonly int layerCount