ARTrackingInfo.cs 423 B

123456789101112131415161718
  1. using UnityEngine;
  2. using UnityEngine.UI;
  3. namespace ARLocation.UI
  4. {
  5. public class ARTrackingInfo : MonoBehaviour
  6. {
  7. public Text InfoValue;
  8. public Text ProviderValue;
  9. private void Update()
  10. {
  11. InfoValue.text = ARLocationManager.Instance.GetARSessionInfoString();
  12. ProviderValue.text = ARLocationManager.Instance.GetARSessionProviderString();
  13. }
  14. }
  15. }