浏览代码

Close ShaderGraph window if it fails to load asset from serialized guid

/main
Peter Bay Bastian 7 年前
当前提交
7be0bdf0
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/MaterialGraphEditWindow.cs

3
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/MaterialGraphEditWindow.cs


}
if (graphObject == null)
{
Close();
}
var materialGraph = graphObject.graph as AbstractMaterialGraph;
if (materialGraph == null)

正在加载...
取消
保存