ドキュメント

Unity Engine

Unity Engine

RegisterShader(Shader)

Register a user created shader.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.