Esempio n. 1
0
    public void Switch2D()
    {
        Debug.Log(GlobalVariables.Init);
        GlobalVariables.TwoD = !GlobalVariables.TwoD;
        if (GlobalVariables.Init && GlobalVariables.Graph.nodes.Count > 0)
        {
            Layouts.Init(GlobalVariables.TwoD);

            GlobalVariables.JsonManager.SoftResetLayout();
        }
    }