protected void OnGotIMEDialogResult(Messages.PluginMessage msg)
 {
     Ime.remove_OnGotIMEDialogResult(new Messages.EventHandler(this.OnGotIMEDialogResult));
     Ime.ImeDialogResult result = Ime.GetResult();
     DebugUtils.SLog("OnGotIMEDialogResult2");
     DebugUtils.SLog("OnGotIMEDialogResult3");
     if (result.result == null)
     {
         DebugUtils.SLog("OnGotIMEDialogResult4");
         DebugUtils.SLog("★ IME から得た名前: result.text: " + result.get_text());
         DebugUtils.SLog("   名前の長さ:result.text.Length: " + result.get_text().get_Length());
         DebugUtils.SLog("OnGotIMEDialogResult5");
         this.mEditName            = result.get_text();
         this._fleetNameLabel.text = this.mEditName;
         DebugUtils.SLog("OnGotIMEDialogResult6");
         OrganizeTaskManager.Instance.GetLogicManager().ChangeDeckName(this.GetDeckID(), result.get_text());
         DebugUtils.SLog("OnGotIMEDialogResult7");
     }
     DebugUtils.SLog("OnGotIMEDialogResult8");
     App.OnlyController = null;
     TaskOrganizeTop.KeyController.IsRun = true;
     SingletonMonoBehaviour <UIShortCutMenu> .Instance.LockTouchControl(false);
 }
Esempio n. 2
0
 protected override bool UnInit()
 {
     Ime.remove_OnGotIMEDialogResult(new Messages.EventHandler(this.OnGotIMEDialogResult));
     return(true);
 }