[称号]=======称号无法卸下修改提交,称号高度修改
parent
2cbe6e3617
commit
6d41cde054
|
@ -61,7 +61,7 @@ function MainPlayerView.New(isSelf, root, rect, pos,_NpvData,sortingOrder)
|
|||
instance.NpcGO = PlayerLiveView:New(instance.roleRootTran,2, PlayerLiveViewData,sortingOrder)
|
||||
end
|
||||
-- instance.NpcGO = PlayerLiveView:New(instance.roleRootTran,1, nil)
|
||||
instance.NpcGO:SetNameHeight(1.5)
|
||||
instance.NpcGO:SetNameHeight(3)
|
||||
instance.NpcGO:OnOpen()
|
||||
instance.NameText.text = PlayerManager.nickName
|
||||
instance.rect = rect
|
||||
|
|
|
@ -222,7 +222,7 @@ function this.SingleRideClickShowInfo(data,go)
|
|||
PopupTipPanel.ShowTip(Language[12317])
|
||||
end)
|
||||
elseif isGet and isUser then
|
||||
NetManager.RequestChangeModifyDecoration(2,curPlayerHeadIconConfig.Id,function()
|
||||
NetManager.RequestChangeModifyDecoration(2,0,function()
|
||||
PlayerManager.SetPlayerDesignation(0)
|
||||
this.ShowPanelData()
|
||||
PlayerManager.SetisRefreshMainPanelNpc(true)
|
||||
|
|
|
@ -159,7 +159,7 @@ function PlayerLiveView:OnShowLive()
|
|||
local curPlayerRole = ConfigManager.GetConfigData(ConfigName.PlayerRole,self.PlayerLiveViewData.designation)
|
||||
local curArtResourcesConfig = ConfigManager.GetConfigData(ConfigName.ArtResourcesConfig,curPlayerRole.LiveAnimName)
|
||||
local curLocalScale = Vector3.New(curArtResourcesConfig.Scale,curArtResourcesConfig.Scale,curArtResourcesConfig.Scale)
|
||||
local y=curArtResourcesConfig.Position[2]+self.nameHeight
|
||||
local y=curArtResourcesConfig.Position[2]+curPlayerRole.Height
|
||||
if isRide then
|
||||
y=y+3
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue