Documentation

Unity Engine

Unity Engine

GetSerializedSubshader(int)

Obtains the serialized subshader at the given index.
Read time 1 minuteLast updated a day ago

Definition

public ShaderData.Subshader GetSerializedSubshader(int index)

Parameters

index

The index of the serialized subshader.

Returns

Type

Description

SubshaderThe associated serialized subshader or null if none exists.