public void openDeckNameInput() { if (OrganizeTaskManager.Instance.GetDetailTask().CheckBtnEnabled() && base.isRun) { SoundUtils.PlaySE(SEFIleInfos.SE_001); this._state = TaskOrganizeTop.OrganizeState.System; TaskOrganizeTop.controlState = "system"; TaskOrganizeTop.BannerIndex = 0; TaskOrganizeTop.SystemIndex = 2; this.UpdateSystemButtons(); this.UpdateChangeBanner(); App.OnlyController = TaskOrganizeTop.KeyController; TaskOrganizeTop.KeyController.IsRun = false; SingletonMonoBehaviour <UIShortCutMenu> .Instance.LockTouchControl(true); this.DelayActionFrame(1, delegate { Ime.add_OnGotIMEDialogResult(new Messages.EventHandler(this.OnGotIMEDialogResult)); Ime.ImeDialogParams imeDialogParams = new Ime.ImeDialogParams(); imeDialogParams.supportedLanguages = 270336; imeDialogParams.languagesForced = true; imeDialogParams.type = 0; imeDialogParams.option = 0; imeDialogParams.canCancel = true; imeDialogParams.textBoxMode = 2; imeDialogParams.enterLabel = 0; imeDialogParams.maxTextLength = 12; imeDialogParams.set_title("艦隊名を入力してください。(12文字まで)"); imeDialogParams.set_initialText(this.mEditName); Ime.Open(imeDialogParams); }); } }
public void OnClickInputLabel() { if (_uiNameInput.isSelected) { Ime.ImeDialogParams imeDialogParams = new Ime.ImeDialogParams(); imeDialogParams.supportedLanguages = (Ime.FlagsSupportedLanguages.LANGUAGE_JAPANESE | Ime.FlagsSupportedLanguages.LANGUAGE_ENGLISH_GB); imeDialogParams.languagesForced = true; imeDialogParams.type = Ime.EnumImeDialogType.TYPE_DEFAULT; imeDialogParams.option = Ime.FlagsTextBoxOption.OPTION_DEFAULT; imeDialogParams.canCancel = true; imeDialogParams.textBoxMode = Ime.FlagsTextBoxMode.TEXTBOX_MODE_WITH_CLEAR; imeDialogParams.enterLabel = Ime.EnumImeDialogEnterLabel.ENTER_LABEL_DEFAULT; imeDialogParams.maxTextLength = 12; imeDialogParams.title = " 貴官の提督名をお知らせ下さい。(" + 12 + "文字まで入力可能です)"; imeDialogParams.initialText = _strEditName; Ime.Open(imeDialogParams); } }
public void OnClickInputLabel() { if (!this._uiNameInput.isSelected) { return; } Ime.ImeDialogParams imeDialogParams = new Ime.ImeDialogParams(); imeDialogParams.supportedLanguages = 270336; imeDialogParams.languagesForced = true; imeDialogParams.type = 0; imeDialogParams.option = 0; imeDialogParams.canCancel = true; imeDialogParams.textBoxMode = 2; imeDialogParams.enterLabel = 0; imeDialogParams.maxTextLength = 12; imeDialogParams.set_title(" 貴官の提督名をお知らせ下さい。(" + 12 + "文字まで入力可能です)"); imeDialogParams.set_initialText(this._strEditName); Ime.Open(imeDialogParams); }