/// <summary>
/// Interface to implement if you wish to receive OnBeginDrag callbacks.
/// Note: You need to implement IDragHandler in addition to IBeginDragHandler.
/// </summary>
/// <remarks>
/// Criteria for this event is implementation dependent. For example see StandAloneInputModule.
/// </remarks>
public interface IBeginDragHandler : IEventSystemHandler
{
/// <summary>
/// Called by a BaseInputModule before a drag is started.
/// </summary>
void OnBeginDrag(PointerEventData eventData);
}
You need to implement IDragHandler in addition to IBeginDragHandler.
This means OnBeginDragAsObservable should also just add the ObservableDragTrigger.
From EventSystem docs:
This means
OnBeginDragAsObservable
should also just add theObservableDragTrigger
.