Ejemplo n.º 1
0
    private void OnButton1Click()
    {
        PanelMenu.SetActive(false);
        PanelGraph1.SetActive(true);
        SmartGraph1.SetActive(true);

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


        //      streamingText.ShowFileBrowser();
        UIManager.InitUI(0);
    }
Ejemplo 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)"));
            }
        }
    }