public void ShowArCoreCard() { if (ARCoreHelper.CheckArCoreSupport()) { _arCoreCard.SetActive(true); #if UNITY_IOS _arCoreTipText.text = "Your phone has AR Kit support. Just aim camera at any horizontal surface, " + "wait a bit for AR Core magic and place the venue map by tapping the surface"; #endif #if UNITY_ANDROID _arCoreTipText.text = "Your phone has AR Core support. Just aim camera at any horizontal surface, " + "wait a bit for AR Core magic and place the venue map by tapping the surface"; #endif } else { _noArCoreCard.SetActive(true); } }
//--------------------------------------------------------------------- // Messages //--------------------------------------------------------------------- protected override void Start() { base.Start(); _arCoreSupport = ARCoreHelper.CheckArCoreSupport(); }
//--------------------------------------------------------------------- // Messages //--------------------------------------------------------------------- private void Awake() { _arCoreSupport = ARCoreHelper.CheckArCoreSupport(); LoadResources(); }
//--------------------------------------------------------------------- // Messages //--------------------------------------------------------------------- private void Awake() { _arCoreSupport = ARCoreHelper.CheckArCoreSupport(); }
public void OnTrackingFound() { ShowARCorePanel(ARCoreHelper.CheckArCoreSupport()); }