File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Packages/com.unity.inputsystem/Tests/TestFixture Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -805,15 +805,6 @@ public void Trigger(InputAction action)
805805 return ;
806806 }
807807
808- if ( control is PoseControl poseControl )
809- {
810- var pose = poseControl . ReadValue ( ) ;
811- pose . position += minorChange * Vector3 . one ;
812- Set ( poseControl , pose ) ;
813-
814- return ;
815- }
816-
817808 if ( control is BoneControl boneControl )
818809 {
819810 var bone = boneControl . ReadValue ( ) ;
@@ -833,6 +824,9 @@ public void Trigger(InputAction action)
833824 }
834825 }
835826
827+ // Initially I wanted to implement PoseControl too, but it's got a very complicated ifdef that enables it.
828+ // Didn't want to carry that #ifdef here. Let's see how many people really need to trigger PoseControl.
829+
836830 // If it's not a control that we know how to trigger - it's not implemented yet
837831 throw new NotImplementedException ( ) ;
838832 }
You can’t perform that action at this time.
0 commit comments