RegisterShader(Shader)
Register a user created shader.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static void RegisterShader(Shader shader)
Parameters
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.