Exemple #1
0
        /// <inheritdoc />
        public override IEnumerator SetRotation(
            Quaternion newRotation,
            int numSteps = PlayModeTestUtilities.ControllerMoveStepsSentinelValue)
        {
            Quaternion oldRotation = rotation;

            rotation = newRotation;
            yield return(PlayModeTestUtilities.SetMotionControllerRotation(
                             oldRotation,
                             newRotation,
                             position,
                             buttonState,
                             handedness,
                             PlayModeTestUtilities.CalculateNumSteps(numSteps),
                             simulationService));
        }