【称号坐骑时装】大地图修改

dev_chengFeng
zhangqiang 2021-03-30 21:11:27 +08:00
parent ed6e825266
commit ecf18e4b5a
1 changed files with 2 additions and 2 deletions

View File

@ -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 ()