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