Example #1
0
 public virtual void Linking(NodeKnob other)
 {
     if (other.Body == null || other.Body == Body)
     {
         return;
     }
 }
Example #2
0
 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;
 }
Example #3
0
 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;
     }
 }