1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 17:26:02 +08:00

290 Commits

Author SHA1 Message Date
Thor
66de07e1a7 More strongly typed namespaces to prevent import conflicts 2017-12-18 10:37:02 +01:00
Thor Brigsted
2291531ceb Added Node.OnRemoveConnection 2017-12-03 23:23:00 +01:00
Thor Brigsted
29dd6e0c62 Unity 5.3 compatibility patches. 2017-12-03 18:52:34 +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
d15b55745d Null check changes 2017-11-29 09:16:48 +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
869bd6a76d Reordered node context menu 2017-11-28 09:41:38 +01:00
Thor Kramer Brigsted
215a3475ea Small editor erformance gain. Removed PrettifyCamelCase.
Use ObjectNames.NicifyVariableName instead
2017-11-28 09:38:21 +01:00
Thor Kramer Brigsted
d1d2f9766c Added null check 2017-11-27 09:46:14 +01:00
Thor Kramer Brigsted
43df6ef75b Added GetSecondaryGridTexture 2017-11-27 09:41:47 +01:00
Thor Kramer Brigsted
639680b4f2 Merge branch 'master' of https://github.com/Siccity/xNode.git into development 2017-11-27 09:31:15 +01:00
Thor Kramer Brigsted
e7f759497b NodeGraphEditor work continued 2017-11-27 09:29:07 +01:00
Thor Brigsted
fe057a7be2 Added ShowBackingValue options for Input and Output
Added NodeEditorUtilities.GetAttrib<T>(Type classType, string fieldName, out T attribute)
2017-11-27 00:59:16 +01:00
Thor Brigsted
8c688b9f8b Changed default node width from 200 to 208 to match grid lines 2017-11-26 23:35:11 +01:00
Jason Beetham
0f6fca09bd Fixed issue with NodeTint not working properly. 2017-11-25 19:47:40 -07:00
Thor Kramer Brigsted
710692a326 Added virtual NodeEdutor.GetTint() 2017-11-23 10:06:57 +01:00
Thor Kramer Brigsted
4ea25f6aee Initial NodeGraphEditor implementation 2017-11-22 14:54:06 +01:00
Thor Kramer Brigsted
dcff69979c Moved NodeEditorGUI.TypeToString to NodeEditorUtilities.PrettyName
Improved custom type color handling
Removed default color overrides
2017-11-21 13:21:34 +01:00
Thor Kramer Brigsted
5f161b80e7 Added grid snap and color settings. 2017-11-21 12:53:56 +01:00
Thor Kramer Brigsted
81f5879e92 Started work on snap and grid color 2017-11-21 10:51:27 +01:00
Thor Kramer Brigsted
566a64b31f Added preferences shortcut to graph context menu 2017-11-20 15:45:30 +01:00
Thor Kramer Brigsted
07f1f9aac5 Maked NodeEditor.OnHeaderGUI as virtual 2017-11-20 09:51:12 +01:00
Thor Brigsted
8bfe09dfb7 Added Duplicate and Move To Top to node context menu 2017-11-20 00:54:04 +01:00
Thor Brigsted
69c2b254aa Added [ContextMenu] support 2017-11-20 00:11:17 +01:00
Thor Brigsted
dabd55cf49 Context menu limited to graph background and node headers 2017-11-19 22:38:05 +01:00
Thor Brigsted
ad7d9360e5 More inclusive NodeEditorGUILayout 2017-11-16 01:59:46 +01:00
Thor Kramer Brigsted
d68d926a2d Added color32 support for NodeTint 2017-11-14 16:50:28 +01:00
Thor Brigsted
5267ac1a30 Merge branch 'development' 2017-11-14 01:07:59 +01:00
Thor Brigsted
fc16f69710 Nodes can now define a unique color per type using [NodeColor] 2017-11-14 01:07:26 +01:00
Thor Kramer Brigsted
719171cef4 Improved NodeEditorGUILayout options 2017-11-09 22:03:28 +01:00
Thor Kramer Brigsted
60bece4e68 Removed F for "Home" hotkey. It was fighting with text inputs. 2017-11-09 22:02:08 +01:00
Thor Brigsted
dca06edd97 More NodeEditorGUILayout options 2017-11-09 02:12:55 +01:00
Thor Kramer Brigsted
4f65fcefc6 Fixed bug that would cause nodes without static ports to not properly remove old static ports 2017-11-07 10:02:58 +01:00
Thor Kramer Brigsted
455bb723d2 Improved editor responsiveness
No longer saves asset on right click drag
2017-11-07 09:45:34 +01:00
Thor Brigsted
42d13ad6a9 Added null check 2017-11-06 01:32:29 +01:00
Thor Brigsted
a1dd3bb9df Changed window name to xNode 2017-11-06 01:12:49 +01:00
Thor Brigsted
05f7b4ca82 Tooltip shows static output values 2017-11-06 00:36:25 +01:00
Thor Brigsted
9784bebd88 Added null check 2017-11-05 23:54:53 +01:00
Thor Brigsted
c6a4735c71 Renamed to xNode
Added XNode and XNodeEDitor namespaces
Removed unnecessary usings
2017-11-05 23:42:31 +01:00
Thor Kramer Brigsted
432ce05bb5 Fixed dynamic node width.
Fixed field widths.
2017-11-03 10:11:07 +01:00
Thor Kramer Brigsted
86c7966fe6 Changed NodeEditor.OnHeaderGUI and NodeEditorOnBodyGUI to public 2017-11-02 17:46:44 +01:00
Thor Kramer Brigsted
90c3621795 Moved NodeEditor.[CustomNodeEditor].contextMenuName to Node.[CreateNodeMenu].menuName 2017-11-02 17:37:11 +01:00
Thor Kramer Brigsted
b70ba44c23 Added NodeEditorGUILayout.PortField for drawing ports without a serializable property 2017-11-02 16:18:03 +01:00
Thor Kramer Brigsted
8eff75fa7f Bug fixes 2017-11-02 16:17:28 +01:00
Thor Kramer Brigsted
cfccc4f89a Made NodePort.type serializable - needed for instance ports 2017-11-02 16:12:26 +01:00
Thor Kramer Brigsted
702f34161a Fixed Node port enumerables not returning the right ports 2017-11-02 16:11:41 +01:00
Thor Kramer Brigsted
d3bb36fe0e Big update: Warning: Updating to this commit will break all node connections.
Internal NodePorts now uses dicts instead of lists. This is faster and more manageable.
Added instance ports.
Added Node.Ports, Node.Outputs, Node.Inputs, Node.InstanceOutputs, Node.InstanceInputs
Changed public GetInputByFieldName to GetInputValue and GetInputPort
2017-11-02 14:54:03 +01:00
Thor Brigsted
028c481a9d Made NodePort.node private with a getter 2017-11-02 01:49:17 +01:00