Version: 2022.3

ShaderData.GetSerializedSubshader

切换到手册
public ShaderData.Subshader GetSerializedSubshader (int index);

参数

index The index of the serialized subshader.

返回

Subshader The associated serialized subshader or null if none exists.

描述

Obtains the serialized subshader at the given index.