GetSubshader(int)
Obtains the runtime subshader at the given index.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public ShaderData.Subshader GetSubshader(int index)
Parameters
The index of the subshader.
Returns
Type | Description |
|---|---|
| Subshader | The associated runtime subshader or null if none exists. |