private void DeleteNoodlesBetween(INode node, INodeInput input) { if (input is InputProcedural inputProcedural && inputProcedural.InputNode == node) { inputProcedural.InputNode = null; }
/// <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));
public int AddComponet(INodeInput component) => m_ComManager.AddComponet(component);