From da21b0ba37735ffd517bb699d7779208fdddf593 Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Thu, 16 Sep 2021 17:29:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/XunBaoMiZong/XunBaoMiZongMapPanel.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/XunBaoMiZong/XunBaoMiZongMapPanel.lua b/Assets/ManagedResources/~Lua/Modules/XunBaoMiZong/XunBaoMiZongMapPanel.lua index 8b60a5e982..f74570fdef 100644 --- a/Assets/ManagedResources/~Lua/Modules/XunBaoMiZong/XunBaoMiZongMapPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/XunBaoMiZong/XunBaoMiZongMapPanel.lua @@ -48,6 +48,7 @@ function XunBaoMiZongMap:BindEvent() self.effect:GetComponent("RectTransform").anchoredPosition3D = Vector3.New(self.rewardPos.x, self.rewardPos.y, 10) self.effect:SetActive(true) self.btnGet.gameObject:GetComponent("Button").interactable = false + self.btnBack.gameObject:GetComponent("Button").interactable = true cantWalk = true SoundManager.PlaySound("UI_021") Timer.New(function () @@ -86,6 +87,8 @@ function XunBaoMiZongMap:OnShow() end cantWalk = true self.btnGet.gameObject:GetComponent("Button").interactable = true + self.btnBack.gameObject:GetComponent("Button").interactable = true + self.btnGet.sprite = self.spLoader:LoadSprite("x_xbmz_xunbaoanniu01") self.liveNode = PlayerLiveView:New(self.roleRoot,1) self.liveNode:OnOpen(300,Vector3.zero,WALK_DIR.IDLE_FRONT) self.liveNode:SetTitleHide()