Exemplo n.º 1
0
    private void OnButton4Click()
    {
        PanelMenu.SetActive(false);
        PanelGraph4.SetActive(true);
        SmartGraph4.SetActive(true);

        RegiaoAberta[0] = false;
        RegiaoAberta[1] = false;
        RegiaoAberta[2] = false;
        RegiaoAberta[3] = true;


        //streamingText.ShowFileBrowser();
        UIManager.InitUI(3);
    }
Exemplo n.º 2
0
    private void OnButtonMenu()
    {
        PanelMenu.SetActive(true);
        PanelGraph1.SetActive(false);
        PanelGraph2.SetActive(false);
        PanelGraph3.SetActive(false);
        PanelGraph4.SetActive(false);

        UIManager.HideLeftInformation();
        UIManager.HideRightOther();
        UIManager.HideTopRegion();

        //StreamingText metodo pra mudar o texto da barra de pesquisa
        //streamingText.CleanSearchBar();


        foreach (GameObject obj in UnityEngine.Object.FindObjectsOfType(typeof(GameObject)))
        {
            if (obj.name == "GraphBox(Clone)")
            {
                Destroy(GameObject.Find("GraphBox(Clone)"));
            }
        }
    }