using System; namespace UDE_HAND_INTERACTION { public abstract class DetectorInteractable : Interactable, IDetectable where interactor : Interactor where interactable : DetectorInteractable { public IDetectableElement DetectableElement { get; protected set; } public event Action WhenDetectorEventRaised = delegate { }; public void PublishDetectorEvent(DetectorEvent evt) { WhenDetectorEventRaised(evt); } } }