public void AttachSuccess(ConnectableSlot slot, bool otherAlreadyNotified = false) { if (OnAttachSuccess != null) { OnAttachSuccess.Invoke(slot, this); } if (!otherAlreadyNotified && slot != null) { slot.AttachSuccess(this, true); } }
public void BadAttach(ConnectableSlot slot, bool otherAlreadyNotified = false) { if (OnBadAttach != null) { OnBadAttach.Invoke(slot, this); } if (!otherAlreadyNotified && slot != null) { slot.BadAttach(this, true); } }
protected abstract bool CompatibleDiscriminator(ConnectableSlot slot);