1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 09:16:01 +08:00

20 Commits

Author SHA1 Message Date
Thor Brigsted
8adc4fd459 Fixed #128, #127, #64 - Added NodeEditorBase.OnCreate, OnGraphEditor.OnOpen, and NodeEditorBase.window 2019-04-06 13:27:44 +02:00
Thor Brigsted
f6e0e3bc4d Added NodeGraphEditor.GetPortColor 2019-04-03 21:50:29 +02:00
Thor Brigsted
3972ac5abf Allow naming nodes in Init 2019-01-21 22:25:05 +01:00
Thor Brigsted
5b11e81027
Move context menu functions around to allow more customization (#87)
Moved NodeEditorWindow.ShowNodeContextMenu to NodeEditor.AddContextMenuItems
Moved NodeEditorWindow.ShowGraphContextMenu to NodeGraphEditor.AddContextMenuItems
Moved NodeEditorWindow.CreateNode to NodeGraphEditor.CreateNode
2018-12-15 12:40:16 +01:00
Thor Brigsted
b9bd67bd28 Cleanup
Removed unused code, added/fixed comments
2018-10-30 09:38:44 +01:00
Thor Brigsted
c202829c9d Bugfix and old code removal
Fixed NodeEditorGUILayout.PortField being inconsistent with Ports drawn by NodeEditorGUILayout.PropertyField
Removed obsolete NodeEditorGraph.GetNodePath
2018-06-21 23:21:32 +02:00
Thor Brigsted
61ca00ce31 Renamed GetNodePath to GetNodeMenuName (consistency)
Empty menuNames now skips, just like null does
2018-05-13 12:18:16 +02:00
Thor Brigsted
2582d5aaf3 Added option to disable autosave in preferences 2018-04-13 10:46:51 +02:00
Thor Brigsted
bab898e489 Exposed virtual OnGUI() and 'position' for graph editors 2018-04-10 22:59:32 +02:00
Thor Brigsted
ba8b9ef447 Removed unused dictionary 2018-04-10 22:57:25 +02:00
Thor Brigsted
1885d453a4 Removed #if UNITY_EDITOR from NodeGraph.cs #23 2018-04-05 21:53:03 +02:00
Thor Brigsted
19e244212c Added NodeRename #11 2018-04-05 20:59:50 +02:00
Thor Brigsted
63b51aaa10 Added more preferences control
Preferences can now be saved with a custom key, and custom default settings can be specified.

Other changes:
XNodeInternal renamed to XNodeEditor.Internal
NodeEditorWindow.graphEditor exposed as public
2018-01-30 12:27:17 +01:00
Thor
66de07e1a7 More strongly typed namespaces to prevent import conflicts 2017-12-18 10:37:02 +01:00
neko1990
ec4429e969 compatibility patches, make xNode work on Unity 5.4. 2017-12-03 23:50:54 +08:00
Thor Brigsted
d7e133a822 Defined namespaces across all scripts prevent conflicts. 2017-12-02 09:56:41 +01:00
Thor Kramer Brigsted
aabd2e4145 Added NodeGraphEditor.GetTypeColor for custom node-graph specific type colors 2017-11-28 10:49:24 +01:00
Thor Kramer Brigsted
9e68617cb8 Added NodeGraphEditor.GetNodePath
You now have more control over which nodes get displayed in the context menu, and how they are displayed
2017-11-28 10:17:21 +01:00
Thor Kramer Brigsted
43df6ef75b Added GetSecondaryGridTexture 2017-11-27 09:41:47 +01:00
Thor Kramer Brigsted
4ea25f6aee Initial NodeGraphEditor implementation 2017-11-22 14:54:06 +01:00