public LuerlockConnector(LuerlockAdapter.Side side, LuerlockAdapter luerlock, GameObject collider) : base(luerlock.transform) { GeneralItem = luerlock; attached = new AttachedObject(); this.side = side; this.Collider = collider; }
public void SetLuerlockPair(LuerlockAdapter.Side side, LuerlockAdapter luerlock) { if (luerlock == null) { // Luerlock pair.Value can only be null when removing the syringe from luerlock, therefore Warning instead of Error Logger.Error("Luerlock pair value was null. Problem with SetInteractors cast?"); } LuerlockPair = new KeyValuePair <LuerlockAdapter.Side, LuerlockAdapter>(side, luerlock); }