示例#1
0
    void Start()
    {
        manager = UIManager.GetInstance();

        coolDown.init();

        activeMenu.menuArea.SetParent(menuArea);
        passiveMenu.menuArea.SetParent(menuArea);
        activeSelectMenu.menuArea.SetParent(menuArea);
        passiveSelectMenu.menuArea.SetParent(menuArea);
        spacer.SetParent(menuArea);

        foreach (KeyValuePair <AbilityId, AbilitySettings> element in abilities)
        {
            element.Value.itemID = (Progress.GameItems)element.Key;
        }
    }