【称号坐骑时装】取消注释
parent
c45d20f9da
commit
a73924a275
|
@ -98,7 +98,7 @@ end
|
||||||
|
|
||||||
--加载三个立绘(称号 坐骑 皮肤)
|
--加载三个立绘(称号 坐骑 皮肤)
|
||||||
function PlayerLiveView:OnShowLive()
|
function PlayerLiveView:OnShowLive()
|
||||||
LogBlue("self.rideLiveGo "..self.rideLiveGo.name)
|
-- LogBlue("self.rideLiveGo "..self.rideLiveGo.name)
|
||||||
self.rideLiveGo:SetActive(false)
|
self.rideLiveGo:SetActive(false)
|
||||||
self.playerLiveGo:SetActive(false)
|
self.playerLiveGo:SetActive(false)
|
||||||
self.titleLiveGo:SetActive(false)
|
self.titleLiveGo:SetActive(false)
|
||||||
|
@ -262,14 +262,14 @@ function PlayerLiveView:SetWalkDir(dir)
|
||||||
end
|
end
|
||||||
function PlayerLiveView:SetWalkDirInfo(playerDir,RideDir)
|
function PlayerLiveView:SetWalkDirInfo(playerDir,RideDir)
|
||||||
if playerDir and (self.oldPlayerDirAnimation ~= playerDir.animation or self.oldPlayerDiry ~= playerDir.y) then
|
if playerDir and (self.oldPlayerDirAnimation ~= playerDir.animation or self.oldPlayerDiry ~= playerDir.y) then
|
||||||
LogBlue("PlayerLiveView playerDir : "..playerDir.animation .." ".. playerDir.y)
|
-- LogBlue("PlayerLiveView playerDir : "..playerDir.animation .." ".. playerDir.y)
|
||||||
self.playerLiveSkeletonGraphic.transform.localEulerAngles = Vector3.New(0, playerDir.y, 0)
|
self.playerLiveSkeletonGraphic.transform.localEulerAngles = Vector3.New(0, playerDir.y, 0)
|
||||||
self.playerLiveSkeletonGraphic.AnimationState:SetAnimation(0, playerDir.animation, true)
|
self.playerLiveSkeletonGraphic.AnimationState:SetAnimation(0, playerDir.animation, true)
|
||||||
self.oldPlayerDirAnimation = playerDir.animation
|
self.oldPlayerDirAnimation = playerDir.animation
|
||||||
self.oldPlayerDiry = playerDir.y
|
self.oldPlayerDiry = playerDir.y
|
||||||
end
|
end
|
||||||
if RideDir and (self.oldRideDirAnimation ~= RideDir.animation or self.oldRideDiry ~= RideDir.y) then
|
if RideDir and (self.oldRideDirAnimation ~= RideDir.animation or self.oldRideDiry ~= RideDir.y) then
|
||||||
LogBlue("PlayerLiveView RideDir : "..RideDir.animation .." ".. RideDir.y)
|
-- LogBlue("PlayerLiveView RideDir : "..RideDir.animation .." ".. RideDir.y)
|
||||||
self.rideLivSkeletonGraphic.transform.localEulerAngles = Vector3.New(0, RideDir.y, 0)
|
self.rideLivSkeletonGraphic.transform.localEulerAngles = Vector3.New(0, RideDir.y, 0)
|
||||||
self.rideLivSkeletonGraphic.AnimationState:SetAnimation(0, RideDir.animation, true)
|
self.rideLivSkeletonGraphic.AnimationState:SetAnimation(0, RideDir.animation, true)
|
||||||
self.oldRideDirAnimation = RideDir.animation
|
self.oldRideDirAnimation = RideDir.animation
|
||||||
|
|
Loading…
Reference in New Issue