[称号]====挂机界面特效显示修改,称号位置修改
parent
154cab45a2
commit
9c3f1cb5eb
|
@ -4815,7 +4815,7 @@ Camera:
|
|||
m_Depth: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 1
|
||||
m_Bits: 33
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
|
|
|
@ -1044,7 +1044,7 @@ JumpType = {
|
|||
|
||||
NPCPosType={
|
||||
maincity=1,
|
||||
|
||||
onHook = 2,
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -835,7 +835,7 @@ function this.RefreshLittleMap()
|
|||
if this.liveNode then
|
||||
this.liveNode:OnClose()
|
||||
end
|
||||
this.liveNode = PlayerLiveView:New(this.btnMap.transform,1,nil,1)
|
||||
this.liveNode = PlayerLiveView:New(this.btnMap.transform,1,nil,orginLayer)
|
||||
this.liveNode:OnOpen(GetPlayerRoleSingleConFig().Scale3,Vector3.New(0,-40,0))
|
||||
if FightPointPassManager.GetRoleDirection()==1 then
|
||||
this.liveNode:SetWalkDir(WALK_DIR.RUN_LEFT)
|
||||
|
|
|
@ -166,6 +166,7 @@ function PlayerLiveView:OnShowLive()
|
|||
local curLocalScale = Vector3.New(curArtResourcesConfig.Scale,curArtResourcesConfig.Scale,curArtResourcesConfig.Scale)
|
||||
local y=curArtResourcesConfig.Position[2]+curPlayerRole.Height
|
||||
if isRide then
|
||||
LogError("name height=="..self.nameHeight)
|
||||
y=y+3+self.nameHeight
|
||||
end
|
||||
local curLocalPosition = Vector3.New(curArtResourcesConfig.Position[1],y,0)
|
||||
|
@ -174,6 +175,8 @@ function PlayerLiveView:OnShowLive()
|
|||
local effect=0
|
||||
if self.posType==NPCPosType.maincity then
|
||||
effect=self.transform.localScale.x
|
||||
elseif self.posType==NPCPosType.onHook then
|
||||
effect=50
|
||||
else
|
||||
effect=self.leader.transform.localScale.x
|
||||
end
|
||||
|
|
|
@ -159,7 +159,7 @@ function SingleFightPlayerView:SetData(u,v,isSelf,data)
|
|||
npc = NameManager.roleSex == ROLE_SEX.BOY and npc1 or npc2
|
||||
scale = NameManager.roleSex == ROLE_SEX.BOY and 1 or 0.5
|
||||
self.userId = PlayerManager.uid
|
||||
self.playerLiveView = PlayerLiveView:New(self.roleRoot,1,nil)
|
||||
self.playerLiveView = PlayerLiveView:New(self.roleRoot,1,nil,sortingorder,NPCPosType.onHook)
|
||||
self.playerLiveView:RemoveTitleCanvas()
|
||||
self.nameDi.gameObject:SetActive(false)
|
||||
--如果修行开启设置修行标识
|
||||
|
@ -176,7 +176,8 @@ function SingleFightPlayerView:SetData(u,v,isSelf,data)
|
|||
sex = data.sex,
|
||||
ride = data.userMount,
|
||||
designation = data.userTitle,
|
||||
})
|
||||
},sortingorder,NPCPosType.onHook)
|
||||
self.playerLiveView:SetNameHeight(1.5)
|
||||
self.playerLiveView:RemoveTitleCanvas()
|
||||
if data.userMount == 0 then
|
||||
self.nameDi.transform.localPosition = namePos[1].pos
|
||||
|
|
Loading…
Reference in New Issue