Version: 2021.2
public int passCount ;

説明

Returns the number of shader passes on the active SubShader.