Asmdef Graph Window

This commit is contained in:
nakano yosuke 2019-12-08 23:55:34 +09:00
parent 77de8a6dcf
commit 7c14691132
6 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,17 @@
using UnityEditor;
namespace AsmdefGraph.Editor {
public class AsmdefGraphEditorWindow : EditorWindow {
[MenuItem("Window/Open Asmdef Graph Window")]
public static void Open() {
GetWindow<AsmdefGraphEditorWindow>("AsmdefGraphWindow");
}
void OnEnable() {
var graphView = new AsmdefGraphView() {
style = { flexGrow = 1 }
};
rootVisualElement.Add(graphView);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 22a8fb74e3dadee4a9935eef7dd38cce
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,9 @@
using UnityEditor.Experimental.GraphView;
namespace AsmdefGraph.Editor {
public class AsmdefGraphView : GraphView {
public AsmdefGraphView() : base() {
AddElement(new AsmdefNode());
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8b91142fbc8cdb04392f0896b8735b98
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
using UnityEditor.Experimental.GraphView;
namespace AsmdefGraph.Editor {
public class AsmdefNode : Node {
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 31c5c0a8c3ea62547b9beab724923e0f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: