From e89c81f45f344186069dc9cfa8b4e232f6f9822d Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 24 十月 2018 17:30:48 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/OpenServerActivity/WishItemCell.cs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/System/OpenServerActivity/WishItemCell.cs b/System/OpenServerActivity/WishItemCell.cs
index e542824..df90f87 100644
--- a/System/OpenServerActivity/WishItemCell.cs
+++ b/System/OpenServerActivity/WishItemCell.cs
@@ -17,6 +17,7 @@
{
WishingPoolModel.WishingWellItem wellItem = null;
bool isWishData = wishingModel.TryGetWishDataByIndex(index, out wellItem);
+ noneItemBtn.RemoveAllListeners();
if (isWishData)
{
nameText.gameObject.SetActive(true);
@@ -41,6 +42,10 @@
noneItemObj.gameObject.SetActive(true);
nameText.gameObject.SetActive(false);
bestIconObj.SetActive(false);
+ noneItemBtn.AddListener(()=>
+ {
+ wishingModel.SetHandMovePos(index);
+ });
}
}
}
--
Gitblit v1.8.0