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

25 行
638 B

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