File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Assets/com.alelievr.NodeGraphProcessor/Runtime/Elements Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,20 @@ public bool UpdateAllPorts()
235
235
return changed ;
236
236
}
237
237
238
+ /// <summary>
239
+ /// Update all ports of the node without updating the connected ports. Only use this method when you need to update all the nodes ports in your graph.
240
+ /// </summary>
241
+ public bool UpdateAllPortsLocal ( )
242
+ {
243
+ bool changed = false ;
244
+
245
+ foreach ( var field in nodeFields )
246
+ changed |= UpdatePortsForFieldLocal ( field . Value . fieldName ) ;
247
+
248
+ return changed ;
249
+ }
250
+
251
+
238
252
/// <summary>
239
253
/// Update the ports related to one C# property field (only for this node)
240
254
/// </summary>
Original file line number Diff line number Diff line change 5
5
using System . Linq ;
6
6
using System ;
7
7
8
- [ System . Serializable , NodeMenuItem ( "Custom /Relay" ) ]
8
+ [ System . Serializable , NodeMenuItem ( "Utils /Relay" ) ]
9
9
public class RelayNode : BaseNode
10
10
{
11
11
const string packIdentifier = "_Pack" ;
You can’t perform that action at this time.
0 commit comments