Simon Rodriguez
63c3ae2f7d
Fixed TypeConstraint.Inherited, and added TypeConstraint.InheritedInverse ( #205 )
...
* Added TypeConstraint to check inheritance but inverted.
* Flipped output inherited type constraints, edited comments
2019-11-06 13:12:04 +01:00
Marco Secchi
be0d452d12
Fix wrong override message. ( #204 )
2019-11-06 11:53:13 +01:00
Wang Cong
2d1a671b71
Undo support ( #199 )
...
Added undo support for move, create, duplicate and delete node, and connect port
2019-11-06 11:42:22 +01:00
Thor Brigsted
a825af8192
Merge pull request #203 from nostek/fix/duplicateemptyselection
...
Duplicating a empty selection makes linq throw exception
2019-11-05 10:55:28 +01:00
Simon Rodriguez
7cd3077ff0
Duplicating a empty selection makes linq throw exception
...
InvalidOperationException: Sequence contains no elements
System.Linq.Enumerable.Aggregate[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`3[T1,T2,TResult] func) (at <fbb5ed17eb6e46c680000f8910ebb50c>:0)
2019-11-05 10:52:04 +01:00
apkd
e15076b34f
Use Vector2 in bezier calculations
2019-10-27 16:37:31 +01:00
apkd
455107aabb
Optimize NodeEditorGUI.DrawNoodle
2019-10-27 16:30:05 +01:00
Thor Brigsted
a4ce09c212
Merge pull request #196 from DeepWolf413/master
...
Added a null check for NodeEditorWindow.current.
2019-10-23 12:08:14 +02:00
DeepWolf413
aeaaf18099
Added a null check for NodeEditorWindow.current.
...
It returns a new instance of the Settings class if the NodeEditorWindow.current is null.
2019-10-23 12:01:20 +02:00
Thor Brigsted
421fb5747e
Added virtual NodeEditorGraph.GetNoodlePath and GetNoodleStroke for additional customization
2019-10-17 00:16:36 +02:00
Thor Brigsted
08af93c2e3
Added NodeGraphEditor.GetNoodleThickness
2019-10-16 23:08:07 +02:00
Igor Vasiak
63b0bf428b
Added gradients to connection noodles ( #191 )
...
Upgrade notice: Override GetNoodleGradient instead of GetNoodleColor
2019-10-15 17:13:54 +02:00
Thor Brigsted
ceb4700eda
Merge pull request #192 from nostek/fix/dontrepaintalways
...
* This line was not present before commit 43bcb54fda4378e46a678c866242954248a63702 (Odin inspector support (#182 ) and causes the window to repaint every frame but only if you have a custom node editor.
2019-10-09 10:28:45 +02:00
Simon Rodriguez
1b9a04017b
this action needs a repaint
2019-10-09 10:20:28 +02:00
Simon Rodriguez
6a1c1dbb4f
This line was not present before commit 43bcb54fda4378e46a678c866242954248a63702 (Odin inspector support ( #182 ) and causes the window to repaint every frame but only if you have a custom node editor.
2019-10-09 10:20:11 +02:00
Thor Brigsted
810960e4a6
Fixed #190 - OnWillDeleteAsset() conflicts with lighting data regeneration
2019-09-27 18:49:11 +02:00
Icarus
2248e0fa9f
!O 调整了GroupName 绘制得顺序,如果连接数只有一个不显示索引,索引数+1
2019-09-27 16:36:11 +08:00
Icarus
46d093339c
!W 绘制GroupName
2019-09-27 00:48:34 +08:00
Icarus
fdd42a8274
!W 输出端口索引显示
2019-09-25 23:45:57 +08:00
Thor Brigsted
085906efd2
Moved default EditorGUIUtility.labelWidth so that it can be overwritten in OnBodyGUI
2019-09-25 16:39:52 +02:00
Icarus
40db69af1e
!T 回滚绘制顺序,太难看了,哈哈
2019-09-25 20:26:15 +08:00
Icarus
9be869f3b2
!B 坐标计算错误
2019-09-25 18:22:12 +08:00
Icarus
7c3c106eeb
!W 加了一个创建当前Group所支持的所有节点功能,用于调试
2019-09-25 16:59:43 +08:00
Icarus
25514fce96
!B Group 空问题
2019-09-25 16:58:59 +08:00
Icarus
2017fc8430
!OW 让使用者可以自定义不需要显示的字段
2019-09-25 16:58:09 +08:00
Thor Brigsted
4b073648c9
Added noodle hover highlight
2019-09-25 10:48:36 +02:00
Icarus
0602d3fccf
!W 动态Port新增了一个删除
2019-09-24 18:16:02 +08:00
Icarus
38df17b58b
!W 绘制不可被unity序列化的类型端口
2019-09-24 13:50:04 +08:00
Icarus
354f7d10d8
!W 新增了一个获取当前节点鼠标在Group中的坐标
2019-09-24 13:49:26 +08:00
Thor Brigsted
979bd5f7cf
Added nodeGraphEditor.GetNoodleColor
...
Now you can override the color of noodles!
2019-09-23 23:25:23 +02:00
Icarus
3134dc12d8
!B 节点创建时没有设置Input的TypeConstraintBaseType
2019-09-23 01:13:56 +08:00
Icarus
3a1b59480f
!W Input新增了一个BaseType得指定,当TypeConstraint为TypeConstraint.Inherited时可用
2019-09-22 17:35:17 +08:00
Icarus
ee68490c9b
!D meta
2019-09-22 02:53:49 +08:00
Icarus
d6e64f82f6
!T 忽略meta
2019-09-22 02:53:18 +08:00
Icarus
574e3457f6
!B 没有过滤保护和内部等其他类型字段,导致出现多次
2019-09-22 02:43:22 +08:00
Icarus
113eb4b48d
!T 调整了绘制顺序
2019-09-22 02:40:53 +08:00
Icarus
ba47fbd549
!W 加入了IcSkillSystme连接
2019-09-22 01:50:44 +08:00
Thor Brigsted
f86b2b6d42
Create FUNDING.yml
2019-09-14 16:09:01 +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
Thor Brigsted
b7749e3b99
Update README.md
2019-09-05 10:06:10 +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