Browse Source

Label增加手动输入

蓝色星空 1 year ago
parent
commit
e5e5476128
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Assets/Game/Blue/Controller/Item/ShowXunJian_UIItem.cs

+ 1 - 0
Assets/Game/Blue/Controller/Item/ShowXunJian_UIItem.cs

@@ -24,6 +24,7 @@ public class ShowXunJian_UIItem : MonoBehaviour, IController
     {
         mNormal_Btn.onClick.AddListener(NormalClick);
         Warning_Btn.onClick.AddListener(WarningClick);
+        LabelText_Input.onValueChanged.AddListener(NewStr => mLabel = NewStr);
     }
     private void OnEnable()
     {