Version: 2022.1

Shader.GetPassCountInSubshader

切换到手册
public int GetPassCountInSubshader (int subshaderIndex);

参数

subshaderIndex The index of the SubShader.

描述

Returns the number of passes in the given SubShader.