Version: 2022.2

Shader.subshaderCount

切换到手册
public int subshaderCount ;

描述

Returns the number of SubShaders in this shader.