2025.10.20 addressable 修改
@ -917,6 +917,36 @@ MonoBehaviour:
|
||||
m_ReadOnly: 0
|
||||
m_SerializedLabels: []
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
- m_GUID: 663771f11518d424ab533371daba096a
|
||||
m_Address: Assets/Content/Icons/HeroDraw/Role_6.png
|
||||
m_ReadOnly: 0
|
||||
m_SerializedLabels: []
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
- m_GUID: 3975823daeaaa8c49821e788cbe3b5af
|
||||
m_Address: Assets/Content/Icons/HeroDraw/Role_5.png
|
||||
m_ReadOnly: 0
|
||||
m_SerializedLabels: []
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
- m_GUID: 1cb46ceb3ab00a94789d30d26bf30cb9
|
||||
m_Address: Assets/Content/Icons/HeroDraw/Role_4.png
|
||||
m_ReadOnly: 0
|
||||
m_SerializedLabels: []
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
- m_GUID: 7744b7c24c4810640b2769734a271969
|
||||
m_Address: Assets/Content/Icons/HeroDraw/Role_3.png
|
||||
m_ReadOnly: 0
|
||||
m_SerializedLabels: []
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
- m_GUID: ad4a8b262a2e742478296e7e1be345a6
|
||||
m_Address: Assets/Content/Icons/HeroDraw/Role_2.png
|
||||
m_ReadOnly: 0
|
||||
m_SerializedLabels: []
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
- m_GUID: e3ff2c0a644c9794fb6b98f926feebba
|
||||
m_Address: Assets/Content/Icons/HeroDraw/Role_1.png
|
||||
m_ReadOnly: 0
|
||||
m_SerializedLabels: []
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
m_ReadOnly: 0
|
||||
m_Settings: {fileID: 11400000, guid: 8b54c61ef06dca34e89fcf16d0b8c4b3, type: 2}
|
||||
m_SchemaSet:
|
||||
|
||||
|
Before Width: | Height: | Size: 275 KiB After Width: | Height: | Size: 275 KiB |
|
Before Width: | Height: | Size: 275 KiB After Width: | Height: | Size: 275 KiB |
|
Before Width: | Height: | Size: 275 KiB After Width: | Height: | Size: 275 KiB |
|
Before Width: | Height: | Size: 275 KiB After Width: | Height: | Size: 275 KiB |
|
Before Width: | Height: | Size: 275 KiB After Width: | Height: | Size: 275 KiB |
|
Before Width: | Height: | Size: 275 KiB After Width: | Height: | Size: 275 KiB |
@ -563,11 +563,12 @@ function UITeamView:SetBattleHeroData(idx, uid, node)
|
||||
node.heroLua.text_name.text.text = I18N.T(heroData.cfgData.Name)
|
||||
|
||||
--立绘路径
|
||||
CommonUtil.LoadIcon(self, "HeroDraw/Role" .. idx, function(sprite)
|
||||
CommonUtil.LoadIcon(self, "HeroDraw/Role_" .. idx, function(sprite)
|
||||
node.heroLua.img_role.image.sprite = sprite
|
||||
node.heroLua.img_role.image:SetNativeSize()
|
||||
end)
|
||||
local imgpos = node.heroLua.img_role:GetComponent(Enum.TypeInfo.RectTransform)
|
||||
|
||||
--图片对齐
|
||||
if idx==1 then imgpos.localPosition=Vector3(-30,0,0) end
|
||||
|
||||
|
||||