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