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