public void ResetScene() { Debug.Log("ResetScene() called."); m_ProductPlacement.Reset(); UtilityHelper.EnableRendererColliderCanvas(m_PlacementAugmentation, false); DeleteAnchors(); m_ProductPlacement.SetProductAnchor(null); m_GroundPlaneUI.Reset(); m_TouchHandler.enableRotation = false; }
public void ResetScene() { //Debug.Log("ResetScene() called."); indicator.SetActive(true); m_ProductPlacement.Reset(); UtilityHelper.EnableRendererColliderCanvas(m_PlacementAugmentation, false); DeleteAnchors(); m_ProductPlacement.SetProductAnchor(null); m_TouchHandler.enableRotation = false; m_PlaneFinderBehaviour.enabled = false; }
public void ResetScene() { Debug.Log("ResetScene() called."); // reset augmentations m_PlaneAugmentation.transform.position = Vector3.zero; m_PlaneAugmentation.transform.localEulerAngles = Vector3.zero; UtilityHelper.EnableRendererColliderCanvas(m_PlaneAugmentation, false); m_MidAirAugmentation.transform.position = Vector3.zero; m_MidAirAugmentation.transform.localEulerAngles = Vector3.zero; UtilityHelper.EnableRendererColliderCanvas(m_MidAirAugmentation, false); m_ProductPlacement.Reset(); UtilityHelper.EnableRendererColliderCanvas(m_PlacementAugmentation, false); DeleteAnchors(); m_ProductPlacement.SetProductAnchor(null); AstronautIsPlaced = false; m_TouchHandler.enableRotation = false; }