Version: 2021.3

Shader.subshaderCount

切换到手册
public int subshaderCount ;

描述

Returns the number of SubShaders in this shader.