/// <summary> /// Observable DestinationMarkerExit event /// </summary> /// <param name="events"></param> /// <returns></returns> public static IObservable <DestinationMarkerEventArgs> DestinationMarkerExitAsObservable(this VRTK_DestinationPoint events) { return(Observable.FromEvent <DestinationMarkerEventHandler, DestinationMarkerEventArgs>( h => (s, e) => h(e), h => events.DestinationMarkerExit += h, h => events.DestinationMarkerExit -= h)); }