gm修改器修改

dev_chengFeng
wangzhenxing 2022-12-07 16:07:15 +08:00
parent e6273954b4
commit 658c0fde90
2 changed files with 11 additions and 7 deletions

View File

@ -2070,8 +2070,8 @@ RectTransform:
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: 270.6, y: -47}
m_SizeDelta: {x: 202.5, y: 30}
m_AnchoredPosition: {x: 270.6, y: 0.53}
m_SizeDelta: {x: 202.5, y: 187.19}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7990473134932037551
CanvasRenderer:
@ -2790,8 +2790,8 @@ RectTransform:
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: -106.98, y: -29.359999}
m_SizeDelta: {x: 541.06, y: 127.4}
m_AnchoredPosition: {x: -102.58, y: -29.359999}
m_SizeDelta: {x: 532.36, y: 127.4}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7021414950167483735
CanvasRenderer:
@ -2823,7 +2823,7 @@ MonoBehaviour:
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 12800000, guid: 4b73e9e4512d17e4daeea351e090d33c, type: 3}
m_FontSize: 30
m_FontSize: 33
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 3
@ -2833,7 +2833,7 @@ MonoBehaviour:
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 0.9
m_LineSpacing: 1.1
m_Text: "5\u661F\u88C5\u5907*50\u7684\u89C4\u8303\u5316\u7684\u89C4\u8303\u5316\u53D1\u8D27\u54C8v\u90A3\u4F60\u53CC\u65B9\u7684\u8BE5\u65B9\u6CD5\u4F60\u7B2C\u516B\u519B\u56E2\uFF0C\u5C31\u5341\u591A\u4E2A\u4EBA\u5929\u7687\u965B\u4E0B\u73B0\u5728v\u6210\u672C\u53D1\u8868v\u5417\u58EB\u5927\u592B\u4ECD\u7136\u8981\u9000\u8D27\u5417"
--- !u!1 &9149266359347444431
GameObject:

View File

@ -194,8 +194,12 @@ function GMChangePanel:SingleTask(go,data,isOpen,tip)
else
btnTxt.text="兑换"
end
if isOpen and leftBuyTime>0 then
priceTxt.gameObject:SetActive(true)
else
priceTxt.gameObject:SetActive(false)
end
priceTxt.gameObject:SetActive(true)
priceTxt.text=data.Price[1][2]..""
else
name.text=data.Name