Version: 2023.2

Shader.FindSubshaderTagValue

切换到手册
public Rendering.ShaderTagId FindSubshaderTagValue (int subshaderIndex, Rendering.ShaderTagId tagName);

参数

subshaderIndex The index of the SubShader.
tagName The name of the tag.

描述

Searches for the tag specified by tagName on the SubShader specified by subshaderIndex and returns the value of the tag.