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(); } public override AbstractGraphPresenter CreateDataSource() { return CreateInstance(); } public override GraphView CreateGraphView() { return new MaterialGraphView(); } } }