【称号坐骑时装】修改
parent
399c79391d
commit
319ba45193
|
|
@ -243,18 +243,21 @@ function PlayerLiveView:SetWalkDir(dir)
|
||||||
else
|
else
|
||||||
self:SetWalkDirInfo(PLAYER_WALK_DIR.JINGYA)
|
self:SetWalkDirInfo(PLAYER_WALK_DIR.JINGYA)
|
||||||
end
|
end
|
||||||
|
self:SetSiblingIndexPlayerOrRide(1)
|
||||||
elseif dir == WALK_DIR.LAUCH then-- 发射
|
elseif dir == WALK_DIR.LAUCH then-- 发射
|
||||||
if self.PlayerLiveViewData.ride and self.PlayerLiveViewData.ride > 0 then
|
if self.PlayerLiveViewData.ride and self.PlayerLiveViewData.ride > 0 then
|
||||||
-- self:SetWalkDirInfo(PLAYER_WALK_DIR.IDLE_FRONT,RIDE_WALK_DIR.IDLE_FRONT)
|
-- self:SetWalkDirInfo(PLAYER_WALK_DIR.IDLE_FRONT,RIDE_WALK_DIR.IDLE_FRONT)
|
||||||
else
|
else
|
||||||
self:SetWalkDirInfo(PLAYER_WALK_DIR.LAUCH)
|
self:SetWalkDirInfo(PLAYER_WALK_DIR.LAUCH)
|
||||||
end
|
end
|
||||||
|
self:SetSiblingIndexPlayerOrRide(1)
|
||||||
elseif dir == WALK_DIR.TOUCH then-- 轻按
|
elseif dir == WALK_DIR.TOUCH then-- 轻按
|
||||||
if self.PlayerLiveViewData.ride and self.PlayerLiveViewData.ride > 0 then
|
if self.PlayerLiveViewData.ride and self.PlayerLiveViewData.ride > 0 then
|
||||||
-- self:SetWalkDirInfo(PLAYER_WALK_DIR.IDLE_FRONT,RIDE_WALK_DIR.IDLE_FRONT)
|
-- self:SetWalkDirInfo(PLAYER_WALK_DIR.IDLE_FRONT,RIDE_WALK_DIR.IDLE_FRONT)
|
||||||
else
|
else
|
||||||
self:SetWalkDirInfo(PLAYER_WALK_DIR.TOUCH)
|
self:SetWalkDirInfo(PLAYER_WALK_DIR.TOUCH)
|
||||||
end
|
end
|
||||||
|
self:SetSiblingIndexPlayerOrRide(1)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
function PlayerLiveView:SetWalkDirInfo(playerDir,RideDir)
|
function PlayerLiveView:SetWalkDirInfo(playerDir,RideDir)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue