Ejemplo n.º 1
0
    private IEnumerator MenuAppear(int menu)
    {
        BackButton.Appear(new ButtonData(ButtonType.Back, "Go Back"));
        BackButton.Deactivate();
        RegisterButton.Appear(new ButtonData(ButtonType.Register, "Register New Speaker"));
        CloseButton.Appear(new ButtonData(ButtonType.Close, "Close Menu"));
        for (int i = 0; i < MenuButton.NUM_BUTTONS; i++)
        {
            ReplyButtons[i].Appear(ButtonData.Buttons[menu, i]);
        }

        yield return(null);
    }