기술 자료

Unity Engine

Unity Engine

FindShaderByName(string)

Override for customizing the behavior of the Shader.Find function.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
protected virtual Shader FindShaderByName(string name)

Parameters

name

The name of the shader to find.

Returns

Type

Description

ShaderThe shader that matches the specified name, or null if no shader matches.