Thor Brigsted
979bd5f7cf
Added nodeGraphEditor.GetNoodleColor
...
Now you can override the color of noodles!
2019-09-23 23:25:23 +02:00
Thor Brigsted
445a47cd1d
Autoconnect bugfix
...
1. Add a node
2. Drag a port and create a new node that it connects to
3. Delete that latest node
4. Create it with just right click, the first node will autoconnect to it
2019-09-09 00:44:36 +02:00
Thor Brigsted
4e1b2e1fe6
Fixed warning
2019-09-07 04:03:00 +02:00
Thor Brigsted
1254836a84
.NET 3.5 compatability
2019-09-07 04:01:15 +02:00
MowfaqAlarbi
c51a3a8f67
Select All Feature ( #184 )
...
If anything is selected, A deselects all.
If nothing is selected, A selects all.
2019-09-07 00:57:34 +02:00
Thor Brigsted
305af376c5
Added link to documentation in preferences
2019-09-06 19:26:01 +02:00
MowfaqAlarbi
5433e36837
Show Node Create list When Dragging To Nothing ( #183 )
...
And a user setting to disable it, of course
2019-09-06 19:13:00 +02:00
Simon Rodriguez
c16ad1fff0
Added functionality that focuses on selected nodes. ( #173 )
...
Resets view if no nodes are selected.
2019-09-03 22:18:30 +02:00
Thor Brigsted
43bcb54fda
Odin inspector support ( #182 )
...
* Added Odin Inspector support
* Added support for ports
2019-09-02 00:41:57 +02:00
Thor Brigsted
6fa3bdf2ad
Marked NodeEnumDrawer ShowContextMenuAtMouse public
2019-08-12 22:07:27 +02:00
Thor Brigsted
c995bdf0bc
Added NodeEnumDrawer.EnumPopup so you can use it from your own node editor scripts
2019-08-12 01:01:57 +02:00
Thor Brigsted
788b8d8a0b
Automatically remove "Node" postfix from creation menu
2019-08-12 00:11:14 +02:00
Thor Brigsted
650522223c
Fixed minor jittering with tooltips
2019-08-11 23:52:33 +02:00
Thor Brigsted
25d208d278
Fixed #156 - Incorrect drawing of custom graph editor OnGUI
2019-08-08 09:56:10 +02:00
Thor Brigsted
d45f396ebf
Revert "Improved zoom with the help of Jeroenimoo0's PR"
...
This commit caused issues with the selection box
2019-08-04 22:41:38 +02:00
Thor Brigsted
ba48e32a22
Moved RerouteReference to own script
2019-08-04 22:25:51 +02:00
Thor Brigsted
5bc267d23b
Fixed #119 - node port background color inconsistency
2019-07-24 23:52:31 +02:00
Thor Brigsted
bb847a3044
Moved IsMac to NodeEditorUtilities
2019-07-24 10:25:29 +02:00
Thor Brigsted
891ecebc3f
Put NodeEditorReflection into its own static class
2019-07-24 10:04:05 +02:00
Mikhail
93fa101af8
Multiple dynamicPortList IndexOutofRange fix. ( #176 )
2019-07-22 00:41:58 +02:00
Thor Brigsted
8e0bd964ad
Fixed #107 - OnValidate
...
OnValidate is now called on rename as well.
Removed outdated OnValidate fix. It probably never worked anyway.
2019-07-01 09:58:47 +02:00
Thor Brigsted
d0e1cd5d66
Fixed #144 - Added virtual GetPortTooltip in NodeGraphEditor
2019-06-29 16:56:50 +02:00
elrod
95884080b0
Resetting random generator state/seed after random color extraction. ( #160 )
2019-06-29 16:38:25 +02:00
William Henry
9b239c3564
Added Drop event to Node Graph ( #157 )
...
Override NodeGraphEditor.OnDropObjects to deal with items dropped into the graph through DragAndDrop
2019-06-29 00:04:39 +02:00
Thor Brigsted
8d64843d42
Node skin is now white with default grey tint
...
This lets you get more outrageous colors with [NodeTint]
2019-06-28 23:08:18 +02:00
Greg Poole
f0fd6b9634
Add Unity Package Manager support ( #165 )
2019-06-26 23:42:36 +02:00
Hao Wu
f8ba6339c8
Added validation support for Context Menu items ( #162 )
...
* Added validation support for Context Menu items
2019-06-26 10:25:01 +02:00
Thor Brigsted
4e1d9b6721
Reformat RenamePopup.cs
...
Was inconsistently formatted as tabs instead of spaces
2019-06-26 10:13:12 +02:00
Adsitoz
55dddf8142
Rename Revert ( #164 )
...
- Not working the same way across all versions of Unity.
2019-06-26 10:08:22 +02:00
Simon Rodriguez
5d45300935
Unified all functions that set the default node name ( #161 )
2019-06-23 11:54:14 +02:00
Thor Brigsted
0553dc8894
Merge pull request #154 from nostek/feature/copypaste
...
Added support for copy paste
2019-06-18 23:04:42 +02:00
Simon Rodriguez
56e84b7c92
Changed so CopySelectedNodes uses the same Linq-select as DuplicateSelectedNodes does.
2019-06-18 22:17:56 +02:00
Thor Brigsted
6c38439e84
Built DuplicateSelectedNodes and PasteNodes together
2019-06-18 22:00:31 +02:00
Adsitoz
3ba0b13c77
Zoom System Fixes ( #155 )
...
- Due to the OnGUI method being called last to draw over everything else in the window, the GUI.Group being created in the new zoom system was also moving around the GUI elements created in the NodeGraphEditor OnGUI method.
2019-06-18 11:34:23 +02:00
Thor Brigsted
c350c135ca
Improved handling of null sub assets
...
Thanks to Lenny#3404 from the discord channel
2019-06-17 20:11:29 +02:00
Simon Rodriguez
fefea30594
Added support for copy paste in menu and ctrl+c / ctrl+v / cmd+c / cmd+v.
2019-06-13 18:36:40 +02:00
Michael Wigley
8b0eb6bb60
#144 Added option to disable tooltips
2019-06-08 21:01:45 +02:00
Thor Brigsted
53f85a5d22
Improved zoom with the help of Jeroenimoo0's PR
2019-06-08 14:25:07 +02:00
Thor Brigsted
0c1ae4881d
Fixed #147 - Adding dynamic port using "+" causes exception
2019-06-08 01:41:58 +02:00
Adsitoz
4721edc7ec
Fixed rename not saving the filename change. ( #149 )
...
- AssetDataBase.ImportAsset was not correctly renaming the asset. Changed it over to use the standard rename method.
2019-06-07 20:04:19 +02:00
Simon Rodriguez
833e26ccc3
Make RemoveNode + switch order
...
* made RemoveNode function virtual
used for example when a graph wants to block a delete
* switched order of remove function and destroy function.
target.RemoveNode was always getting a null value
2019-05-13 20:53:34 +02:00
Thor Brigsted
8a03811ee3
More DynamicPortList debug messages
2019-05-13 14:26:29 +02:00
Simon Rodriguez
c868c037ea
Fixed #99 - Color for types in preferences will reseted after playing
...
* SavePrefs was saving to the wrong key.
* A dictionary cant be changed while being enumerated.
Now clones the keys and gets/sets values.
2019-05-13 10:23:54 +02:00
Thor Brigsted
d68aea2a8a
Fixed #142 - New feature: Automatically remove "Node" postfix in names
2019-05-10 09:55:10 +02:00
Thor Brigsted
29a05cba28
Fixed #143 - Added minZoom to preferences
...
Also renamed zoomOutLimit to maxZoom
2019-05-10 09:05:48 +02:00
Thor Brigsted
91151b327a
Bugfix: Calling base.OnBodyGUI after drawing ports would make noodles disappear
2019-05-09 00:02:58 +02:00
Thor Brigsted
d7f5bd2a1a
Added obsolete methods to help with upgrading
...
Relating the Instance port > dynamic port change
2019-05-06 17:54:43 +02:00
Thor Brigsted
c3e85a9f82
UPGRADE NOTICE: Renamed 'instance ports' to 'dynamic ports'.
...
To upgrade, simply rename all your method calls involving instance ports eg. 'AddInstanceOutput' to the dynamic port equivalent eg. 'AddDynamicOutput'
There is no functional difference. The community just agreed this was a more fitting name for the feature.
2019-05-05 10:52:36 +02:00
Thor Brigsted
4cf7113740
Improved noodle tangents ( #136 )
2019-04-14 19:01:26 +02:00
Woland
7eaa15af4a
NodeEditorReflection: Catch ReflectionTypeLoadException ( #131 )
...
* NodeEditorReflection: Catch ReflectionTypeLoadException
Can happen if dll can not be loaded for some reason
* Removed unnecessary editor precompile tags
2019-04-14 03:21:29 +02:00