From 03a19bdd149066e5b9b673ff8d60a4ec28bca337 Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Fri, 23 Apr 2021 16:19:44 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=A3=AE=E7=BD=97=E6=97=A0=E5=B0=BD?= =?UTF-8?q?=E3=80=91=E6=B2=A1=E6=9C=89=E5=B0=8F=E4=BA=BA=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Map/View/MapPlayerView.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Map/View/MapPlayerView.lua b/Assets/ManagedResources/~Lua/Modules/Map/View/MapPlayerView.lua index 1167d7e973..2caebc27e2 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/View/MapPlayerView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/View/MapPlayerView.lua @@ -142,7 +142,7 @@ function this.InitRolePre(u, v) if this.NpcGO then this.NpcGO:OnClose() end - Util.GetTransform(this.leader, "root/ui/nemeDi"):SetActive(false) + Util.GetTransform(this.leader, "root/ui/nemeDi").gameObject:SetActive(false) this.NpcGO = PlayerLiveView:New(Util.GetTransform(this.leader, "root/ui/roleRoot"),1) this.NpcGO:OnOpen(GetPlayerRoleSingleConFig().Scale9,Vector3.New(0,40,0),WALK_DIR.IDLE_FRONT) end