浏览代码

Log error instead of warning when failing to instantiate node instance

/main
Peter Bay Bastian 7 年前
当前提交
10cced5d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialGraphView.cs

2
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialGraphView.cs


}
catch (Exception e)
{
Debug.LogWarningFormat("Could not construct instance of: {0} - {1}", posObj.m_Type, e);
Debug.LogErrorFormat("Could not construct instance of: {0} - {1}", posObj.m_Type, e);
return;
}

正在加载...
取消
保存