Unity Engine documentationScript ReferenceUnityEditorShaderDataShaderData.SubshaderPassCountThe number of passes for this subshader.Read time 1 minuteLast updated 9 days agoDefinition Type: Property Namespace: UnityEditor Assembly: UnityEditor public int PassCount { get; }