19 lines
471 B
C#
19 lines
471 B
C#
|
|
using UnityEngine;
|
|||
|
|
using UnityEngine.UI;
|
|||
|
|
|
|||
|
|
namespace ARLocation.UI
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
public class ARTrackingInfo : MonoBehaviour
|
|||
|
|
{
|
|||
|
|
public Text InfoValue;
|
|||
|
|
public Text ProviderValue;
|
|||
|
|
|
|||
|
|
private void Update()
|
|||
|
|
{
|
|||
|
|
InfoValue.text = "ARTrackingStatus: " + ARLocationManager.Instance.GetARSessionInfoString();
|
|||
|
|
ProviderValue.text = "ARTrackingProvider: " + ARLocationManager.Instance.GetARSessionProviderString();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|