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

29 Commits

Author SHA1 Message Date
MowfaqAlarbi
5433e36837 Show Node Create list When Dragging To Nothing (#183)
And a user setting to disable it, of course
2019-09-06 19:13:00 +02:00
Thor Brigsted
788b8d8a0b Automatically remove "Node" postfix from creation menu 2019-08-12 00:11:14 +02:00
Thor Brigsted
891ecebc3f Put NodeEditorReflection into its own static class 2019-07-24 10:04:05 +02:00
Thor Brigsted
d0e1cd5d66 Fixed #144 - Added virtual GetPortTooltip in NodeGraphEditor 2019-06-29 16:56:50 +02:00
William Henry
9b239c3564 Added Drop event to Node Graph (#157)
Override NodeGraphEditor.OnDropObjects to deal with items dropped into the graph through DragAndDrop
2019-06-29 00:04:39 +02:00
Simon Rodriguez
5d45300935 Unified all functions that set the default node name (#161) 2019-06-23 11:54:14 +02:00
Simon Rodriguez
fefea30594 Added support for copy paste in menu and ctrl+c / ctrl+v / cmd+c / cmd+v. 2019-06-13 18:36:40 +02:00
Simon Rodriguez
833e26ccc3 Make RemoveNode + switch order
* made RemoveNode function virtual
used for example when a graph wants to block a delete

* switched order of remove function and destroy function.
target.RemoveNode was always getting a null value
2019-05-13 20:53:34 +02:00
Thor Brigsted
d68aea2a8a Fixed #142 - New feature: Automatically remove "Node" postfix in names 2019-05-10 09:55:10 +02:00
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