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

105 Commits

Author SHA1 Message Date
Thor Kramer Brigsted
4de58ad0db Added T GetInputByFieldName<T>(string fieldName, T fallback = default<T>();
Now retrieving input values is much easier.
As simple as
Material material = GetInputByFieldName("material", this.material);
2017-10-27 14:06:39 +02:00
Thor Kramer Brigsted
4c6c10f15b Fixed incorrect position checking while zoomed 2017-10-26 13:33:55 +02:00
Thor Kramer Brigsted
ac4fb1efd9 Added editor onUpdateNode callback on Connect/Disconnect 2017-10-26 12:40:34 +02:00
Thor Brigsted
d3a057b9af Cleaned Node.cs 2017-10-21 12:01:34 +02:00
Thor Brigsted
2dc7450661 Improved userfriendlyness of [Input] and [Output] 2017-10-20 23:01:38 +02:00
Thor
c1b2d2ff87 Started work on [Input] and [Output] improvements 2017-10-20 15:55:34 +02:00
Thor
49c12ec87e Added NodePort.GetInputSum 2017-10-20 12:34:49 +02:00
Thor
4fcaede3b0 NodePort.GetValue changes
Removed NodePort.GetValue
Added NodePort.GetOutputValue
Added NodePort.GetInputValue
Added NodePort.GetInputValue<T>
Added NodePort.GetInputValues
Added NodePort.GetInputValues<T>
Added NodePort.TryGetInputValue<T>
2017-10-20 11:41:16 +02:00
Thor
9dd784d21e Improved handling of null object fields 2017-10-20 11:39:11 +02:00
Thor
9db84d1608 Replaced node Rect rect with node Vector2 position. Improved node hover check. 2017-10-19 15:15:34 +02:00
Thor Brigsted
fb28fd9e24 Update README.md 2017-10-17 12:01:50 +02:00
Thor Brigsted
6711846536 Update README.md 2017-10-17 10:16:30 +02:00
Thor Brigsted
554a85cb71 Node hover update finished 2017-10-16 23:43:23 +02:00
Thor Brigsted
23a3e0e732 Node hover update 2017-10-16 21:48:23 +02:00
Thor Brigsted
94b9318858 Renamed some methods 2017-10-16 21:08:35 +02:00
Thor Brigsted
90392de94c Update README.md 2017-10-16 16:54:36 +02:00
Thor Brigsted
836ccab02f Update LICENSE.md 2017-10-16 11:50:57 +02:00
Thor Brigsted
ea86301836 Delete LICENSE 2017-10-16 11:49:20 +02:00
Thor Brigsted
b06a2ce47f Update LICENCE.md 2017-10-16 11:48:56 +02:00
Thor Brigsted
59b3c7f089 Update README.md 2017-10-16 10:48:19 +02:00
Thor Brigsted
91376f7fc3 Update README.md 2017-10-15 19:04:00 +02:00
Thor Brigsted
2f73589894 Update LICENSE.md 2017-10-15 19:03:28 +02:00
Thor Brigsted
cf3bde96d0 PropertyField: Better handling of null values 2017-10-15 18:42:58 +02:00
Thor Brigsted
bb15a8fdd3 Improved handling of invalid connections 2017-10-15 18:27:29 +02:00
Thor Brigsted
d498484802 Prettified default node titles 2017-10-15 18:07:52 +02:00
Thor Brigsted
81f01cefc9 Added editor callback onUpdateNode 2017-10-15 16:31:46 +02:00
Thor Brigsted
9f518572f8 Removed old code 2017-10-15 16:11:37 +02:00
Thor Brigsted
5b1026e698 Fixed field editor bug, added tooltip. 2017-10-14 18:18:25 +02:00
Thor Brigsted
151b0e6267 Merge branch 'master' of https://github.com/Siccity/UnityNodeEditorCore.git 2017-10-14 16:20:34 +02:00
Thor Brigsted
5e68b6bcdc Big update.
Removal of scripts now also clears dependant nodes, to avoid null objects.
NodePorts now support fallback values.
UI Changes.
node.graph is now serialized as well.
2017-10-14 16:19:24 +02:00
Thor Brigsted
3e49834d93 Update README.md 2017-10-14 10:56:01 +02:00
Thor Brigsted
c1db2d9e4b Minor UI design changes 2017-10-14 10:52:20 +02:00
Thor Brigsted
427dc8d53c Added NodeEditorGUILayout static class. Improved int, float, double, long editor fields. 2017-10-14 10:47:16 +02:00
Thor Brigsted
812196184f Fixed minor format error 2017-10-14 08:40:03 +02:00
Thor Brigsted
64282028aa Code FixFormat
None of the code was changed, just moved around.
2017-10-14 08:37:33 +02:00
Thor Brigsted
9abdf2995e Added Node Editor entry in Preferences. Custom colors for value types can now be assigned 2017-10-14 08:33:46 +02:00
Thor Brigsted
e089f8fa7f Merge branch 'development' of https://github.com/Siccity/UnityNodeEditorCore.git 2017-10-13 20:39:52 +02:00
Thor Brigsted
2bccb2ca3a Removed toolbar.
It might return later, but at this point there's no use for it.
2017-10-13 20:38:00 +02:00
Thor Brigsted
bc5c060dee Improved broken connection cleanup. Example updates 2017-10-13 20:28:40 +02:00
Thor
899e5ae979 Fixed Clear all connections bug 2017-10-13 10:37:34 +02:00
Thor Brigsted
3dae0910dc Serialization now works correctly. Removal of nodes still broken 2017-10-13 00:08:33 +02:00
Thor Brigsted
325e141ec4 Update README.md 2017-10-12 09:39:28 +02:00
Thor Brigsted
8ce0d63903 NodeDataCache changed from ScriptableObject to static class.
Nodes still don't load properly, but we're getting there.
2017-10-12 00:18:40 +02:00
Thor
d608eaab9a NodeDataCache initialization now works correctly
Still needs work on GetPorts, keep connections, disconnect invalid, etc.
2017-10-11 09:03:20 +02:00
Thor
963eb84edb Possible solution found. NodeGraph now initializes NodeDataCache before creating any nodes. 2017-10-11 08:36:36 +02:00
Thor Brigsted
984364f08f Still haven't found a solution to initializing a static scriptableObject instance 2017-10-10 23:53:27 +02:00
Thor Brigsted
8c28d7bf48 Update README.md 2017-10-10 11:33:58 +02:00
Thor Brigsted
d52ecf1931 Fixed compile errors. Still doesn't initialize correctly, nor saves connections 2017-10-10 00:30:24 +02:00
Thor Brigsted
76e8b70316 Initialization performance updates (wip) 2017-10-09 19:52:41 +02:00
Thor Brigsted
e502e23b50 Improved layout of float and int fields 2017-10-09 00:30:40 +02:00