File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/PressableButtons Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -250,15 +250,19 @@ void IMixedRealityTouchHandler.OnTouchStarted(HandTrackingInputEventData eventDa
250250 }
251251 }
252252 }
253+
254+ eventData . Use ( ) ;
253255 }
254256
255257 void IMixedRealityTouchHandler . OnTouchUpdated ( HandTrackingInputEventData eventData )
256258 {
257259 touchPoints . Add ( eventData . InputData ) ;
260+ eventData . Use ( ) ;
258261 }
259262
260263 void IMixedRealityTouchHandler . OnTouchCompleted ( HandTrackingInputEventData eventData )
261264 {
265+ eventData . Use ( ) ;
262266 }
263267
264268 #endregion OnTouch
@@ -270,9 +274,6 @@ private void SetPathMarkers()
270274 GameObject initialMarker = new GameObject ( "Initial" ) ;
271275 initialMarker . hideFlags = HideFlags . HideInHierarchy | HideFlags . HideInInspector ;
272276
273- GameObject finalMarker = new GameObject ( "Final" ) ;
274- finalMarker . hideFlags = HideFlags . HideInHierarchy | HideFlags . HideInInspector ;
275-
276277 if ( movingButtonVisuals != null )
277278 {
278279 initialMarker . transform . position = movingButtonVisuals . transform . position ;
You can’t perform that action at this time.
0 commit comments