【称号坐骑时装】修改

dev_chengFeng
zhangqiang 2021-03-31 16:45:55 +08:00
parent 399c79391d
commit 319ba45193
1 changed files with 3 additions and 0 deletions

View File

@ -243,18 +243,21 @@ function PlayerLiveView:SetWalkDir(dir)
else
self:SetWalkDirInfo(PLAYER_WALK_DIR.JINGYA)
end
self:SetSiblingIndexPlayerOrRide(1)
elseif dir == WALK_DIR.LAUCH then-- 发射
if self.PlayerLiveViewData.ride and self.PlayerLiveViewData.ride > 0 then
-- self:SetWalkDirInfo(PLAYER_WALK_DIR.IDLE_FRONT,RIDE_WALK_DIR.IDLE_FRONT)
else
self:SetWalkDirInfo(PLAYER_WALK_DIR.LAUCH)
end
self:SetSiblingIndexPlayerOrRide(1)
elseif dir == WALK_DIR.TOUCH then-- 轻按
if self.PlayerLiveViewData.ride and self.PlayerLiveViewData.ride > 0 then
-- self:SetWalkDirInfo(PLAYER_WALK_DIR.IDLE_FRONT,RIDE_WALK_DIR.IDLE_FRONT)
else
self:SetWalkDirInfo(PLAYER_WALK_DIR.TOUCH)
end
self:SetSiblingIndexPlayerOrRide(1)
end
end
function PlayerLiveView:SetWalkDirInfo(playerDir,RideDir)