9 public override bool AlwaysBottom
19 public override Type SetSiblingAfter
28 public override void OnActivate()
30 this.input.text =
EMono.player.memo;
31 this.buttonEdit.SetOnClick(delegate
33 this.ToggleInput(!this.input.isFocused);
35 WidgetMemo.Instance =
this;
39 public override void OnDeactivate()
41 EMono.player.memo = this.input.text;
45 public void ToggleInput(
bool enable)
47 this.input.interactable = enable;
48 this.bgInput.enabled = enable;
49 this.textInput.raycastTarget = enable;
50 this.buttonClose.SetActive(enable);
58 public override void OnUpdateConfig()
60 EMono.player.memo = this.input.text;
66 if (!this.input.isFocused)
68 if (this.input.interactable && !InputModuleEX.IsPointerChildOf(
this))
70 this.ToggleInput(
false);
74 else if (!this.bgInput.enabled)
76 this.ToggleInput(
true);
84 public InputField input;
93 public Text textInput;
96 public UIButton buttonClose;
99 public UIButton buttonEdit;