File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Assets/Tests/InputSystem/Plugins Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -633,7 +633,7 @@ public void Components_TrackedPoseDriver_DoesNotEnableOrDisableReferenceActions(
633633
634634 [ UnityTest ]
635635 [ Category ( "Components" ) ]
636- public IEnumerator LateAddedXRControllerCanLinkTrackedPoseDriver ( )
636+ public IEnumerator CanUseTrackedPoseDriverWithoutTrackingAction ( )
637637 {
638638 var go = new GameObject ( ) ;
639639 var tpd = go . AddComponent < TrackedPoseDriver > ( ) ;
@@ -644,10 +644,8 @@ public IEnumerator LateAddedXRControllerCanLinkTrackedPoseDriver()
644644
645645 var positionAction = new InputAction ( binding : "<XRController>/devicePosition" ) ;
646646 var rotationAction = new InputAction ( binding : "<XRController>/deviceRotation" ) ;
647- var trackingStateAction = new InputAction ( binding : "<XRController>/trackingState" ) ;
648647 tpd . positionInput = new InputActionProperty ( positionAction ) ;
649648 tpd . rotationInput = new InputActionProperty ( rotationAction ) ;
650- tpd . trackingStateInput = new InputActionProperty ( trackingStateAction ) ;
651649
652650 yield return null ;
653651
@@ -668,7 +666,6 @@ public IEnumerator LateAddedXRControllerCanLinkTrackedPoseDriver()
668666 {
669667 device . devicePosition . WriteValueIntoEvent ( position , stateEvent ) ;
670668 device . deviceRotation . WriteValueIntoEvent ( rotation , stateEvent ) ;
671- device . trackingState . WriteValueIntoEvent ( ( int ) ( InputTrackingState . Position | InputTrackingState . Rotation ) , stateEvent ) ;
672669
673670 transform . position = Vector3 . zero ;
674671 transform . rotation = Quaternion . identity ;
You can’t perform that action at this time.
0 commit comments