コード例 #1
0
ファイル: CopyMover.cs プロジェクト: rwth-acis/VIAProMa
 /// <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);
     }
 }
コード例 #2
0
 public void OnPointerDragged(MixedRealityPointerEventData eventData)
 {
     redirectTarget.OnPointerDragged(eventData);
 }
コード例 #3
0
 public void OnPointerDragged(MixedRealityPointerEventData eventData)
 {
     handler.OnPointerDragged(eventData);
 }