Thor Kramer Brigsted
215a3475ea
Small editor erformance gain. Removed PrettifyCamelCase.
...
Use ObjectNames.NicifyVariableName instead
2017-11-28 09:38:21 +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
ad7d9360e5
More inclusive NodeEditorGUILayout
2017-11-16 01:59:46 +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 Brigsted
dca06edd97
More NodeEditorGUILayout options
2017-11-09 02:12:55 +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
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
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
ace1e8ccd8
PropertyField null check and default includeChildren value
2017-11-01 17:41:43 +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 Kramer Brigsted
f335ecfbb5
Nodes now show unsupported value types as labels.
2017-10-31 11:25:49 +01:00
Thor Brigsted
cb3424d6eb
Fixed potential null errors
2017-10-29 21:16:23 +01:00
Thor Brigsted
b48f7d63b4
Null check
2017-10-28 19:11:13 +02:00
Thor Brigsted
38d45d0486
Fixed enum field inspector
2017-10-28 00:06:07 +02:00
Thor Brigsted
2dc7450661
Improved userfriendlyness of [Input] and [Output]
2017-10-20 23:01:38 +02:00
Thor
9dd784d21e
Improved handling of null object fields
2017-10-20 11:39:11 +02:00
Thor Brigsted
cf3bde96d0
PropertyField: Better handling of null values
2017-10-15 18:42:58 +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
427dc8d53c
Added NodeEditorGUILayout static class. Improved int, float, double, long editor fields.
2017-10-14 10:47:16 +02:00