Beispiel #1
0
    public void UpdateText()
    {
        switch (option)
        {
        case TextOptions.None:

            Text = textLibrary.GetLineByTagAttribute(tag);

            break;

        case TextOptions.ToLower:

            Text = textLibrary.GetLineByTagAttribute(tag).ToLower();

            break;

        case TextOptions.ToUpper:

            Text = textLibrary.GetLineByTagAttribute(tag).ToUpper();

            break;

        case TextOptions.FirstLetterToUpper:

            Text = textLibrary.GetLineByTagAttribute(tag).FirstLetterToUpper();

            break;
        }

        onTextChanged(Text);
    }
 private void ExitAction()
 {
     ModalWindowManager.Instance.DisplayConfirmationMenu(localizedTextLibrary.GetLineByTagAttribute("confirmation_menu_message_exit").FirstLetterToUpper(), Application.Quit, null, canvas.rootCanvas);
 }