cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Disable gestures until all steps finished playing (Hololens)

AS16
12-Amethyst

Disable gestures until all steps finished playing (Hololens)

Is it possible to disable the gesture until all steps finished playing? Example, after the last step (step 10) in first view done playing, the gesture automatically enable. 

 

Or is there any other solution to prevent from user skip the first view? 

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
sebben
12-Amethyst
(To:AS16)

Hi,

 

assuming you have a 3DButton to change the view you can add an if statement to the navigate function and check if the sequence is in the last step. For example:

$scope.checkStep = function(){
     if($scope.view.wdg["model-1"].currentStep == 10){
          $scope.navigate("viewname");
     }
}

Call the function from the click event of the button. It will only work if the current step is equal to 10.

View solution in original post

2 REPLIES 2
sebben
12-Amethyst
(To:AS16)

Hi,

 

assuming you have a 3DButton to change the view you can add an if statement to the navigate function and check if the sequence is in the last step. For example:

$scope.checkStep = function(){
     if($scope.view.wdg["model-1"].currentStep == 10){
          $scope.navigate("viewname");
     }
}

Call the function from the click event of the button. It will only work if the current step is equal to 10.

AS16
12-Amethyst
(To:sebben)

Thank you so much

Top Tags