【本地化】修复青龙秘宝白片,优化gm界面显示,探宝商品名称改为读取物品表

dev_chengFeng
gaoxin 2021-01-28 17:29:41 +08:00
parent b086c4cf41
commit d6771be0cf
3 changed files with 30 additions and 30 deletions

View File

@ -35,10 +35,10 @@ RectTransform:
m_Father: {fileID: 2257205713042167254}
m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -533.5, y: -1862.4}
m_SizeDelta: {x: 200.05, y: 89.184}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 6.5, y: 57.599976}
m_SizeDelta: {x: 200.04999, y: 89.18396}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &271495145
CanvasRenderer:
@ -253,10 +253,10 @@ RectTransform:
m_Father: {fileID: 2257205713042167254}
m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -250.32, y: -1862.4}
m_SizeDelta: {x: 200.05, y: 89.184}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 289.68, y: 57.599976}
m_SizeDelta: {x: 200.04999, y: 89.18396}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &540766503
CanvasRenderer:
@ -614,7 +614,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: -111.25126, y: -120.973335}
m_AnchoredPosition: {x: -111.25125, y: -120.973335}
m_SizeDelta: {x: 326, y: 63}
m_Pivot: {x: -0.34126154, y: -0.9202117}
--- !u!222 &899403148
@ -829,10 +829,10 @@ RectTransform:
m_Father: {fileID: 2257205713042167254}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 6.5, y: 4.5}
m_SizeDelta: {x: 1067, y: 1661}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 2.2, y: 4.5}
m_SizeDelta: {x: -21.5, y: -259}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1200235898
MonoBehaviour:
@ -1369,10 +1369,10 @@ RectTransform:
m_Father: {fileID: 2257205713042167254}
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -800, y: -1862.4}
m_SizeDelta: {x: 200.05, y: 89.184}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: -260, y: 57.599976}
m_SizeDelta: {x: 200.04999, y: 89.18396}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1950630791
CanvasRenderer:
@ -1740,7 +1740,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -48.5}
m_AnchoredPosition: {x: 0, y: -48.500122}
m_SizeDelta: {x: -26, y: -123}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2259528839928710614
@ -3380,10 +3380,10 @@ RectTransform:
m_Father: {fileID: 2257205713042167254}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 6.5, y: 4.5}
m_SizeDelta: {x: 1067, y: 1661}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 2.2, y: 4.5}
m_SizeDelta: {x: -21.5, y: -259}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &5568370438774669088
MonoBehaviour:
@ -3519,10 +3519,10 @@ RectTransform:
m_Father: {fileID: 2257205713042167254}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 6.5, y: 4.5}
m_SizeDelta: {x: 1067, y: 1661}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 2.2, y: 4.5}
m_SizeDelta: {x: -21.5, y: -259}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &7926481158117566736
MonoBehaviour:

View File

@ -3862,7 +3862,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: aa6d51e09125b11469a29a303af4aa18, type: 3}
m_Sprite: {fileID: 21300000, guid: cc10e3864c7e15947bb98985da2be762, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -6091,7 +6091,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: 909e965ce6faba24389d9a5bc5818d26, type: 3}
m_Sprite: {fileID: 21300000, guid: 03cf8c2c54619044f983bd805dcb6c4b, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -10133,7 +10133,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 291.99997, y: -42}
m_SizeDelta: {x: 318.565, y: 39.2}
m_SizeDelta: {x: 325, y: 39.2}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7701535949295788202
CanvasRenderer:

View File

@ -417,7 +417,7 @@ function GiftView:RefreshShowData(item, data, buyType, DataTypeIndex)
if isPrivilegeGift then--特权商城
shopItemData = shopItemConfig[data.id]
shows = shopItemData.Goods
name.text = GetLanguageStrById(shopItemData.GoodsName)
name.text = GetLanguageStrById(ConfigManager.GetConfigData(ConfigName.ItemConfig,shows[1][1]).Name)
boughtNum = ShopManager.GetShopItemHadBuyTimes(SHOP_TYPE.FINDTREASURE_GIFT, data.id)
limitNum = ShopManager.GetShopItemLimitBuyCount(data.id)
costId, finalNum, oriCostNum = ShopManager.calculateBuyCost(SHOP_TYPE.FINDTREASURE_GIFT, data.id, 1)