public void HandleAutomaticHitTest(HitTestResult result) { Debug.Log("HandleAutomaticHitTest() called."); AutomaticHitTestFrameCount = Time.frameCount; if (!uiHasBeenInitialized) { uiHasBeenInitialized = m_GroundPlaneUI.InitializeUI(); } }
public void HandleAutomaticHitTest(HitTestResult result) { AutomaticHitTestFrameCount = Time.frameCount; if (!uiHasBeenInitialized) { uiHasBeenInitialized = m_GroundPlaneUI.InitializeUI(); } SetSurfaceIndicatorVisible(false); }
public void HandleAutomaticHitTest(HitTestResult result) { AutomaticHitTestFrameCount = Time.frameCount; if (!uiHasBeenInitialized) { uiHasBeenInitialized = m_GroundPlaneUI.InitializeUI(); } if (planeMode == PlaneMode.PLACEMENT && !m_ProductPlacement.IsPlaced) { SetSurfaceIndicatorVisible(false); m_ProductPlacement.SetProductAnchor(null); m_PlacementAugmentation.PositionAt(result.Position); } }