public virtual void Linking(NodeKnob other) { if (other.Body == null || other.Body == Body) { return; } }
public override void Linking(NodeKnob other) { base.Linking(other); if (other.GetType() != typeof(NodeFlowInKnob)) { return; } other.ClearConnection(); ClearConnection(); connection = other as NodeFlowInKnob; (other as NodeFlowInKnob).connection = this; }
public override void Linking(NodeKnob other) { base.Linking(other); if (other.GetType() != typeof(NodeDirectKnob)) { return; } if (other.Name.Equals(Name)) { connection = other as NodeDirectKnob; (other as NodeDirectKnob).connection = this; } }