示例#1
0
    public void clickEventCameraMenu()
    {
        ButtonDisplay crawler = buttonRoot.branchButtons[1];

        if (crawler.open == true)
        {
            crawler.closeList();
        }
        else
        {
            crawler.addList(new List <ButtonDisplay> {
                new ButtonDisplay(buttons[6], null), new ButtonDisplay(buttons[7], null), new ButtonDisplay(buttons[8], null)
            });
        }
        redrawOptions();
    }
示例#2
0
    public void clickEventSaveMenu()
    {
        ButtonDisplay crawler = buttonRoot.branchButtons[0];

        if (crawler.open == true)
        {
            crawler.closeList();
        }
        else
        {
            crawler.addList(new List <ButtonDisplay> {
                new ButtonDisplay(buttons[2], null), new ButtonDisplay(buttons[3], null), new ButtonDisplay(buttons[4], null)
            });
        }
        redrawOptions();
    }