Beispiel #1
0
 private void LeaveAny(Knob knob)
 {
     if (knob != null)
     {
         knob.Leave();
     }
 }
Beispiel #2
0
 private void LeaveKnob()
 {
     LeaveAny(approached);
     approached = null;
     if (grabbed != null)
     {
         grabbed.Leave();
         grabbed = null;
         OnRelease(grabbed);
     }
     hand = null;
 }