From cdfc038f08288e20958526880d50ba5a00721337 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期五, 24 八月 2018 17:36:32 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/KnapSack/PreciousItemGetBehaviour.cs | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/System/KnapSack/PreciousItemGetBehaviour.cs b/System/KnapSack/PreciousItemGetBehaviour.cs
index 2ba7692..b877851 100644
--- a/System/KnapSack/PreciousItemGetBehaviour.cs
+++ b/System/KnapSack/PreciousItemGetBehaviour.cs
@@ -43,7 +43,6 @@
public void ShowItem()
{
- m_PreciousItem.gameObject.SetActive(false);
if (model.currentShowItem != default(PreciousItemGetModel.PreciousItem))
{
var itemModel = playerPack.GetItemModelByGUID(model.currentShowItem.guid);
@@ -62,6 +61,14 @@
m_PreciousItem.gameObject.SetActive(true);
}
}
+ else
+ {
+ m_PreciousItem.gameObject.SetActive(false);
+ }
+ }
+ else
+ {
+ m_PreciousItem.gameObject.SetActive(false);
}
model.isGetNewItem = false;
}
--
Gitblit v1.8.0