[称号]=======称号无法卸下修改提交,称号高度修改

dev_chengFeng
wangzhenxing 2021-06-02 14:47:54 +08:00
parent 2cbe6e3617
commit 6d41cde054
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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)

View File

@ -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