# subshaderCount

> Returns the number of SubShaders in this shader.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public int subshaderCount { get; }
```
