Question by 
               anawpinterior · Jul 27, 2018 at 06:25 AM · 
                augmented-reality  
              
 
              help pause button on ar camera
Hi all, I am a new in the field of augmented reality. I have a question about how to pause via an AR camera and I will not respond even after using it on the camera i use
using System.Collections; using UnityEngine;
public class pauseScript : MonoBehaviour {
 public bool paused;
 void Start(){
     paused = false;
 }
 void Update(){
     
 }
 public void Pause(){
     paused = !paused;
     if (paused) {
         Time.timeScale = 0;
     } else if (!paused) {
         Time.timeScale = 1;
     }
 }
}
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
force a camera to be the main camera 0 Answers
[Unity Vuforia] Make an object move towards the camera 2 Answers
Light intensity, UI slider does not work on Android Tablet 0 Answers
How do i improve the quality of camera in ar app (Android) 0 Answers
weird mesh distortion only upon build - AR app using unity vuforia and blender 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                