浏览代码

Merge pull request #569 from Unity-Technologies/Branch_FixNewShaderOnMaterial

Branch fix new shader on material
/Yibing-Project-2
GitHub 7 年前
当前提交
fe7d9ccf
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
      ScriptableRenderPipeline/HDRenderPipeline/Material/Unlit/Editor/BaseUnlitUI.cs

7
ScriptableRenderPipeline/HDRenderPipeline/Material/Unlit/Editor/BaseUnlitUI.cs


}
}
public override void AssignNewShaderToMaterial(Material material, Shader oldShader, Shader newShader)
{
base.AssignNewShaderToMaterial(material, oldShader, newShader);
SetupMaterialKeywordsAndPassInternal(material);
}
// This is call by the inspector
public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] props)
{

正在加载...
取消
保存