|
@@ -77,7 +77,7 @@ namespace GFGGame
|
|
|
|
|
|
_selDic.Clear();
|
|
|
_selCount = 0;
|
|
|
-
|
|
|
+ Debug.Log("OnShown 测试 GiftBoxSelectorView");
|
|
|
UpdateView();
|
|
|
UpdateList();
|
|
|
SetSelAllNum();
|
|
@@ -238,6 +238,7 @@ namespace GFGGame
|
|
|
|
|
|
private void OnTextInputOpen(EventContext context)
|
|
|
{
|
|
|
+ Debug.Log("OnTextInputOpen打开输入框触发");
|
|
|
GObject sender = context.sender as GObject;
|
|
|
GObject obj = sender.parent;
|
|
|
UI_ListSelectorItem listItem = UI_ListSelectorItem.Proxy(obj);
|
|
@@ -245,6 +246,7 @@ namespace GFGGame
|
|
|
// 当触摸输入框时执行的逻辑
|
|
|
if (listItem.m_txtSelNum.text == "0")
|
|
|
{
|
|
|
+ Debug.Log("OnTextInputOpen打开输入框触发--txtSelNum为0");
|
|
|
// 将文本设置为空字符串
|
|
|
listItem.m_txtSelNum.text = " ";
|
|
|
// 延迟 0.2 秒后恢复文本
|