Version: 2022.1

Shader.subshaderCount

切换到手册
public int subshaderCount ;

描述

Returns the number of SubShaders in this shader.