In a C# script I’m trying to get a list of all of the nodes in a graph that are of type CallableActionNode, or derived from it. (This is so we can perform some validation on values in custom node types)
The type FlowCanvas.Nodes.CallableActionNode' cannot be used as type parameterT’ in the generic type or method NodeCanvas.Framework.Graph.GetAllNodesOfType<T>()'. There is no implicit reference conversion fromFlowCanvas.Nodes.CallableActionNode’ to `NodeCanvas.Framework.Node’
Any suggestion on how I could get access to these nodes in script?
I could make some source code changes to make this a bit easier.
Depending on what you want to achieve, you might also be able to override and use the OnGraphStarted method in your custom node to perform some validations as soon as the graph gets activated.