Version: 2020.2
public int passCount ;

説明

Returns the number of shader passes on the active SubShader.