void ScaleNodeButtons()
    {
        System.Collections.Generic.Dictionary <int, CareerNode[]> levels = CareerNode.GetLevels(careerNodes);
        List <CareerNode> nodes = Session.session.career.careerNodes;

        foreach (int key in levels.Keys)
        {
            ScaleLevel(key, levels[key], nodes);
        }
    }
    public string ToString()
    {
        string text = "Career:\n";

        text += "Root: " + root.ToString() + "\n";

        text += "\nLeaves:\n";

        foreach (CareerNode leaf in leaves)
        {
            text += "\t" + leaf.ToString() + "\n";
        }

        text += "\nNodes:\n";
        foreach (CareerNode node in careerNodes)
        {
            text += "\t" + node.ToString() + "\n";
        }

        text += "Levels:\n";

        System.Collections.Generic.Dictionary <int, CareerNode[]> levels;
        levels = CareerNode.GetLevels(careerNodes);

        foreach (int key in levels.Keys)
        {
            text += "\n level[" + key + "]:";
            CareerNode[] level = levels[key];
            for (int i = 0; i < level.Length; i++)
            {
                text += level[i].ToString();
            }
            text += "\n";
        }

        return(text);
    }