File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Assets/MRTK/Examples/Demos/UX
ManipulationHandler/Scripts Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 77using System . Text ;
88using TMPro ;
99using UnityEngine ;
10+ using MRTKObjectManipulator = Microsoft . MixedReality . Toolkit . UI . ObjectManipulator ;
1011
1112namespace Microsoft . MixedReality . Toolkit . Examples . Demos
1213{
@@ -64,7 +65,7 @@ private IEnumerator Sequence()
6465 bbox . HideElementsInInspector = false ;
6566 bbox . BoundingBoxActivation = BoundingBox . BoundingBoxActivationType . ActivateOnStart ;
6667 var cm = cube . AddComponent < ConstraintManager > ( ) ;
67- var om = cube . AddComponent < ObjectManipulator > ( ) ;
68+ var om = cube . AddComponent < MRTKObjectManipulator > ( ) ;
6869 yield return WaitForSpeechCommand ( ) ;
6970
7071 SetStatus ( "Set Target bounds override" ) ;
Original file line number Diff line number Diff line change 99using System . Text ;
1010using TMPro ;
1111using UnityEngine ;
12+ using MRTKObjectManipulator = Microsoft . MixedReality . Toolkit . UI . ObjectManipulator ;
1213
1314namespace Microsoft . MixedReality . Toolkit . Examples . Demos
1415{
@@ -68,7 +69,7 @@ private IEnumerator Sequence()
6869 boundsControl . HideElementsInInspector = false ;
6970 boundsControl . BoundsControlActivation = BoundsControlActivationType . ActivateOnStart ;
7071 var cm = cube . AddComponent < ConstraintManager > ( ) ;
71- var om = cube . AddComponent < ObjectManipulator > ( ) ;
72+ var om = cube . AddComponent < MRTKObjectManipulator > ( ) ;
7273 yield return WaitForSpeechCommand ( ) ;
7374
7475 SetStatus ( "Set Target bounds override" ) ;
Original file line number Diff line number Diff line change 33
44using Microsoft . MixedReality . Toolkit . UI ;
55using UnityEngine ;
6+ using MRTKObjectManipulator = Microsoft . MixedReality . Toolkit . UI . ObjectManipulator ;
67
78namespace Microsoft . MixedReality . Toolkit . Examples . Demos
89{
@@ -41,7 +42,7 @@ public void TryStopManipulation()
4142
4243 manipulatedObject . GetComponent < ConstraintManager > ( ) ;
4344 var manipulationHandler = manipulatedObject . GetComponent < ManipulationHandler > ( ) ;
44- var objectManipulator = manipulatedObject . GetComponent < ObjectManipulator > ( ) ;
45+ var objectManipulator = manipulatedObject . GetComponent < MRTKObjectManipulator > ( ) ;
4546 if ( manipulationHandler != null || objectManipulator != null )
4647 {
4748 if ( manipulationHandler != null )
You can’t perform that action at this time.
0 commit comments