From ecf18e4b5a66dbbb50e645833acaa3585afe4112 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Tue, 30 Mar 2021 21:11:27 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A7=B0=E5=8F=B7=E5=9D=90=E9=AA=91?= =?UTF-8?q?=E6=97=B6=E8=A3=85=E3=80=91=E5=A4=A7=E5=9C=B0=E5=9B=BE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Fight/View/FightMiddleChooseMapView.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Fight/View/FightMiddleChooseMapView.lua b/Assets/ManagedResources/~Lua/Modules/Fight/View/FightMiddleChooseMapView.lua index fb582519b1..a4504a5f24 100644 --- a/Assets/ManagedResources/~Lua/Modules/Fight/View/FightMiddleChooseMapView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Fight/View/FightMiddleChooseMapView.lua @@ -100,7 +100,7 @@ function this:LoadMapData() -- end -- end if this.liveNode == nil then - this.liveNode = PlayerLiveView:New(Util.GetTransform(root, "mapParent/selectMap/Image (1)/roleRoot"),1) + this.liveNode = PlayerLiveView:New(Util.GetTransform(rootParent, "mapParent/selectMap/Image (1)/roleRoot"),1) this.liveNode:OnOpen(GetPlayerRoleSingleConFig().Scale5,Vector3.New(0,40,0),WALK_DIR.IDLE_FRONT) end this._BuildFlag = {} @@ -174,7 +174,7 @@ function this.SetRoleWalk(middleFightId) local targetPos = tagerPos local speed = 5 -- 越大越慢 if this.liveNode == nil then - this.liveNode = PlayerLiveView:New(Util.GetTransform(root, "mapParent/selectMap/Image (1)/roleRoot"),1) + this.liveNode = PlayerLiveView:New(Util.GetTransform(rootParent, "mapParent/selectMap/Image (1)/roleRoot"),1) this.liveNode:OnOpen(GetPlayerRoleSingleConFig().Scale5,Vector3.New(0,40,0),WALK_DIR.IDLE_FRONT) end this.liveNode.leader.transform:DOLocalMove(targetPos, speed / 5, false):OnStart(function ()