GameManager.cs 534 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using Imagine.WebAR;
  4. using UnityEngine;
  5. public class GameManager : MonoBehaviour
  6. {
  7. public ARCamera ar;
  8. // Start is called before the first frame update
  9. void Start()
  10. {
  11. }
  12. // Update is called once per frame
  13. void Update()
  14. {
  15. }
  16. public void initAR()
  17. {
  18. // ar.initCam();
  19. }
  20. public void startAR()
  21. {
  22. ar.UnpauseCamera();
  23. }
  24. public void pauseAR()
  25. {
  26. ar.PauseCamera();
  27. }
  28. }