您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

25 行
661 B

using RMGUI.GraphView;
using UnityEditor.Graphing.Drawing;
using UnityEngine.MaterialGraph;
namespace UnityEditor.MaterialGraph.Drawing
{
public class MaterialGraphEditWindow : AbstractGraphEditWindow<IMaterialGraphAsset>
{
[MenuItem("Window/Material Editor")]
public static void OpenMenu()
{
GetWindow<MaterialGraphEditWindow>();
}
public override AbstractGraphDataSource CreateDataSource()
{
return CreateInstance<MaterialGraphDataSource>();
}
public override GraphView CreateGraphView()
{
return new MaterialGraphView();
}
}
}