头像默认显示复原
parent
fc727e1061
commit
673070438b
|
|
@ -1339,14 +1339,14 @@ end
|
|||
|
||||
--- 获取玩家头像框资源
|
||||
function GetPlayerHeadFrameSprite(frameId)
|
||||
if frameId == 0 or frameId == 80000 then frameId = 80004 end
|
||||
if frameId == 0 then frameId = 80001 end
|
||||
local frame = ConfigManager.GetConfigData(ConfigName.ItemConfig, frameId)
|
||||
return Util.LoadSprite(GetResourcePath(frame.ResourceID))
|
||||
end
|
||||
|
||||
--- 获取玩家头像框资源
|
||||
function GetPlayerHeadFrameEffect(frameId)
|
||||
if frameId == 80004 or frameId == 0 or frameId == 80000 then
|
||||
if frameId == 80004 then
|
||||
return "UI_Effect_TouXiang_Lanlong", 1.1, Vector3.New(-8, -5, 0)
|
||||
elseif frameId == 80005 then
|
||||
return "UI_Effect_TouXiang_QingLong", 1.15, Vector3.New(-9, 5, 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue