文档

Unity Engine


User Manual

Script Reference

Unity Engine


GetCustomShader(BuiltinShaderType)

Get custom shader used instead of a built-in shader.
阅读时间1 分钟最后更新于 22 天前

Definition

public static Shader GetCustomShader(BuiltinShaderType type)

Parameters

Built-in shader type to query custom shader for.

Returns

Type

Description

ShaderThe shader used.

Remarks