private void OnDetectSurfacePointComplete(Core.Models.Location.GpsPosition gpsPosition, Vector3 normal)
 {
     // This event is fired in a successful response to a `DetectSurfaceAtPoint()` call
     if (AccessHelper.CurrentTier != Tierlevel.Tier3)
     {
         Debug.Log("Raycast complete");
     }
 }
Пример #2
0
        private void OnDetectSurfacePointComplete(Core.Models.Location.GpsPosition gpsPosition, Vector3 normal)
        {
            if (ShowGrid)
            {
                _hitObject = Instantiate(HitObject, XRSessionManager.GetSession().GpsToLocalPosition(gpsPosition) + (0.1f * normal), Quaternion.LookRotation(normal));
            }

            if (AccessHelper.CurrentTier != Tierlevel.Tier3)
            {
                ToastManager.Instance.ShowToastTimed("Raycast complete");
            }
        }