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."); showGameObjectName = ""; lastName = ""; DeleteAnchors(); m_GroundPlaneUI.Reset(); YiyouStaticDataManager.Instance.OnDestroyGameObject(); if (showGameObject != null) { Destroy(showGameObject); } isPlaced = false; SetSurfaceIndicatorVisible(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); DeleteAnchors(); AstronautIsPlaced = false; m_GroundPlaneUI.Reset(); m_TouchHandler.enableRotation = 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); setOblect = false; allowInterActive = true; DeleteAnchors(); CityIsPlaced = false; m_GroundPlaneUI.Reset(); // CommonData.mainManager.stateManager.PopState(); }