Esempio n. 1
0
    void ToggleWindow()
    {
        if (gameObject.active)
        {
            CloseWindow();
        }
        else
        {
            UIWindowMng.Instance.ShowWindow(windowName);
            mapControl.ClearOldWindows();

            showWorldmap = !showWorldmap;
            ToggleWorldMap();
        }
    }