/// <summary> /// Called every frame during a drag gesture /// Shows the copy which was created in OnPointerDown and moves it /// </summary> /// <param name="eventData">The event data of the drag gesture</param> public void OnPointerDragged(MixedRealityPointerEventData eventData) { // check if the copy was created and the handler was fetched // if yes, the instantiation went to plan if (handlerOnCopy != null) { handlerOnCopy.gameObject.SetActive(true); handlerOnCopy.OnPointerDragged(eventData); } }
public void OnPointerDragged(MixedRealityPointerEventData eventData) { redirectTarget.OnPointerDragged(eventData); }
public void OnPointerDragged(MixedRealityPointerEventData eventData) { handler.OnPointerDragged(eventData); }