【称号坐骑时装】大地图修改
parent
ed6e825266
commit
ecf18e4b5a
|
|
@ -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 ()
|
||||
|
|
|
|||
Loading…
Reference in New Issue