1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-21 01:36:03 +08:00

341 Commits

Author SHA1 Message Date
Thor Brigsted
9dd3e1db75 Fixed Output registering as an Input 2017-10-08 23:33:25 +02:00
Thor Brigsted
4d9f74cf5a Fixed compile error 2017-10-08 14:31:00 +02:00
Thor Brigsted
ac6e75668b NodeGraph changes should now be saving correctly. Needs improvemend.
Also improved layout of Color and AnimationCurve
2017-10-08 13:36:54 +02:00
Thor Brigsted
6a4c29410a Added VerifyConnections, Added GetPortByFieldName. 2017-10-08 02:00:33 +02:00
Thor Brigsted
7330041bde Fixed node position appearing as an editable field 2017-10-07 15:49:27 +02:00
Thor Brigsted
698f02d716 Serialization now works. Node.cs is now a ScriptableObject. 2017-10-07 01:54:10 +02:00
Thor Brigsted
f6d92589dd UI changes
Brighter nodes, fatter wires, padding, prettier enum fields
2017-10-06 19:53:37 +02:00
Thor
efa1dc9ad5 Improved node body design 2017-10-06 14:18:26 +02:00
Thor
85069f72ea Draw node connections behind nodes 2017-10-06 13:55:59 +02:00
Thor Brigsted
965b086341 Started UI overhaul 2017-10-03 20:15:59 +02:00
Thor Brigsted
5f4da093f3 Fixed node headers 2017-10-01 21:53:29 +02:00
Thor Brigsted
6a92f18618 Connections now draw under port handles
Modulized code. Too many minor changes to address
2017-09-30 22:27:01 +02:00
Thor Brigsted
f8a0bb8f7c Started work on NodeGraphExample 2017-09-27 23:41:01 +02:00
Thor Brigsted
63808eb6a2 Removed GetInput and GetOutput and made inputs and outputs public 2017-09-27 22:45:28 +02:00
Thor Brigsted
2b0cf61435 Removed more JSON serialization
Also changed Rect "position" to Rect "rect"
2017-09-27 22:33:01 +02:00
Thor Brigsted
ae9943fae1 Removed JSON serialization.
Might re-add later. Removed because current implementation is hacky and i don't believe it is very future proof.
For now, you can create and save ScriptableObjects in the editor, and use them at runtime.
2017-09-27 00:01:09 +02:00
Thor
0e6eb55143 UI stylistic changes 2017-09-26 14:31:05 +02:00
Unknown
e40161684c Added colors to connections 2017-09-25 18:51:51 +02:00
Unknown
59c1e0d576 Fixed internal values being displayed on node GUI 2017-09-25 00:14:48 +02:00
Unknown
b10ff1a938 Prettified field names 2017-09-25 00:05:46 +02:00
Unknown
59085db16a Streamlined creation of custom node ports
Instead of initializing port arrays in Init();, ports are now defined by attributes on public fields
2017-09-24 21:54:53 +02:00
Unknown
97bbc236be Minor OnValidate optimization
Code now only runs on selected node
2017-09-23 02:43:29 +02:00
Unknown
c66ac47ea9 Changed NodePort UI styling 2017-09-23 00:26:38 +02:00
Thor Brigsted
f00b957e04 Removed NodeGraphAsset. Made NodeGraph into a ScriptableObject
Runtime serialization will have to wait.
2017-09-22 13:41:09 +02:00
Thor Brigsted
d88cf5b53d OnValidate added for nodes 2017-09-22 12:46:45 +02:00
Thor Brigsted
638e784ca9 Added custom context menu path in attribute
Created NodeEditorUtilities
Renamed 'RightClickContextMenu' to 'ShowContextMenu'
Excluded abstract classes from nodeTypes and nodeEditorTypes
2017-09-22 12:19:21 +02:00
Thor Brigsted
d237e1529b Fixed open empty NodeGraph 2017-09-22 12:15:37 +02:00
Thor Brigsted
9ef6069ea7 Exposed node name 2017-09-22 10:28:44 +02:00
Thor Brigsted
3c206b03df Can now save NodeGraph as asset via NodeGraphAsset 2017-09-21 21:30:12 +02:00
Thor Brigsted
72cd983f7b Automatically resize nodes to match contents 2017-09-21 18:56:05 +02:00
Thor Brigsted
372099b03d Minor bugfixes and cleanup
Changed:
 - Private fields with [Serializable] attributes are now also shown
 - Nodes can now only be dragged by the title
 - Output text alignment
Fixed:
 - NodeEditorWindow fields not resetting to null
 - Field editors
2017-09-21 18:15:40 +02:00
Thor Brigsted
846f7f30b1 Exposed fields and custom editors 2017-09-21 13:22:34 +02:00
Thor Brigsted
b7543df012 Serialized connections
Nodes now also have a reference to their NodeGraph
2017-09-21 10:54:49 +02:00
Thor Brigsted
1606c583f9 Basic serialization 2017-09-20 23:04:49 +02:00
Thor Brigsted
d3f0d96954 Cleaned up 2017-09-20 20:25:21 +02:00
Thor Brigsted
f9152bf891 Editor core complete
Removed NodeConnection.cs: Node ports now operate by crossreferencing eachother
Changed from separate static classes to partial class
Removed UNEC Namespace
Added live hover info
2017-09-20 17:22:23 +02:00
Unknown
2a6341728b Connections can now be dragged, not created. 2017-09-20 00:47:29 +02:00
Unknown
36ecfde3fe Connections, Ports 2017-09-19 00:15:17 +02:00
Unknown
10a56513df Base node manipulation finished
Zoom
Node Add / Remove
Node Drag
2017-09-18 13:10:29 +02:00
Thor Brigsted
5f0a776350 Started work on node graphs 2017-09-15 15:56:17 +02:00
Thor Brigsted
23c1d87988 Basic grid background 2017-09-15 00:46:21 +02:00