From 2a241254d505af92f4cde197b0283cd3da20d7c4 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 14 三月 2019 19:45:49 +0800
Subject: [PATCH] 3335 代码维护
---
System/Dungeon/DungeonAncientKingWin.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/System/Dungeon/DungeonAncientKingWin.cs b/System/Dungeon/DungeonAncientKingWin.cs
index 9c42fd6..61d5458 100644
--- a/System/Dungeon/DungeonAncientKingWin.cs
+++ b/System/Dungeon/DungeonAncientKingWin.cs
@@ -56,14 +56,14 @@
var awards = GeneralDefine.ancientKingAwards;
for (int i = 0; i < m_Items.Length; i++)
{
- m_Items[i].cellBtn.RemoveAllListeners();
+ m_Items[i].button.RemoveAllListeners();
if (i < awards.Count)
{
var award = awards[i];
m_Items[i].gameObject.SetActive(true);
ItemCellModel itemCellModel = new ItemCellModel(award.id, true, (ulong)award.count);
m_Items[i].Init(itemCellModel);
- m_Items[i].cellBtn.AddListener(() =>
+ m_Items[i].button.AddListener(() =>
{
ItemAttrData itemAttrData = new ItemAttrData(award.id, true, (ulong)award.count);
ModelCenter.Instance.GetModel<ItemTipsModel>().SetItemTipsModel(itemAttrData);
--
Gitblit v1.8.0