Example #1
0
 private void DeleteNoodlesBetween(INode node, INodeInput input)
 {
     if (input is InputProcedural inputProcedural && inputProcedural.InputNode == node)
     {
         inputProcedural.InputNode = null;
     }
Example #2
0
 /// <summary>
 /// Checks whether the output of the node is dependent on the value of the given input.
 /// Used for finding cyclic dependencies.
 /// </summary>
 /// <returns>True if there is a dependency, false otherwise</returns>
 public static bool IsDependentOn(this INode that, INodeInput childInput)
 {
     return(GetAllProceduralInputsRecursive(that).Any(input => input == childInput));
Example #3
0
 public int AddComponet(INodeInput component) => m_ComManager.AddComponet(component);