기술 자료

Unity Engine

Unity Engine

RegisterShader(Shader)

Register a user created shader.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static void RegisterShader(Shader shader)

Parameters

shader

Remarks

Register a Shader created with ShaderUtil.CreateShaderAsset with Unity. This is required if you wish your shader to exist when calling Shader.Find and the material inspector shader menu.