Joram
477c5b16a0
added port setting
2018-01-03 18:35:02 +01:00
Thor Brigsted
5f900c0b14
Removed references to previous project name
2017-12-31 01:22:18 +01:00
Thor Brigsted
d7e133a822
Defined namespaces across all scripts prevent conflicts.
2017-12-02 09:56:41 +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
8bb30e2f87
Example Display node init fix. Release version.
2017-11-06 12:04:14 +01:00
Thor Brigsted
05f7b4ca82
Tooltip shows static output values
2017-11-06 00:36:25 +01:00
Thor Brigsted
031e1d83df
Updated Examples
2017-11-05 23:55:44 +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
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
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 Kramer Brigsted
ab74f8fd36
OnBodyGUI() remake
...
Default OnBodyGUI now uses default PropertyFields as suppied by UnityEditor.
This means fields are drawn on nodes the same way as they are drawn in the inspector.
out portPosition has also been moved to a static field. It is set automatically using the NodeEditorGuiLayout methods.
Alternatively, you can alter it manually during your node GUI drawing.
2017-10-31 14:52:10 +01:00
Thor Brigsted
199ac1ba78
Example changes.
2017-10-29 21:35:01 +01:00
Thor Brigsted
3e91a30e88
Updated examples
2017-10-28 00:06:25 +02:00
Thor Brigsted
2dc7450661
Improved userfriendlyness of [Input] and [Output]
2017-10-20 23:01:38 +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 Brigsted
94b9318858
Renamed some methods
2017-10-16 21:08:35 +02:00
Thor Brigsted
5b1026e698
Fixed field editor bug, added tooltip.
2017-10-14 18:18:25 +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
bc5c060dee
Improved broken connection cleanup. Example updates
2017-10-13 20:28:40 +02:00
Thor Brigsted
3dae0910dc
Serialization now works correctly. Removal of nodes still broken
2017-10-13 00:08:33 +02:00
Thor Brigsted
147424ca73
Added DisplayValue and GetValue
2017-10-09 00:29:40 +02:00
Thor Brigsted
3e54f60188
Moved example files around
2017-10-08 23:33:08 +02:00