Exemple #1
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;
     }
 }
Exemple #2
0
 internal NodeDirectKnob CreateDirect(string name, Side side)
 {
     return(NodeDirectKnob.Create(this, name, side));
 }