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