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;
    }
Beispiel #2
0
    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);
    }
Beispiel #3
0
    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;
    }
Beispiel #4
0
    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();
    }