Пример #1
0
    static public void SetMenu(string name, Transform planTransform)
    {
        MenuScript.DisplayBackground(planTransform);
        switch (name)
        {
        case "Emploi":
        {
            ApplyMenu(emplois);
            break;
        };

        case "Etude":
        {
            ApplyMenu(etudes);
            break;
        }

        case "Competences":
        {
            ApplyMenu(savoir);
            break;
        };

        default:
        {
            ApplyMenu(info);
            break;
        }
        }
    }