1
This commit is contained in:
@@ -492,10 +492,10 @@ RectTransform:
|
||||
m_Children: []
|
||||
m_Father: {fileID: 6434155105217974499}
|
||||
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: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.5}
|
||||
m_AnchorMax: {x: 0, y: 0.5}
|
||||
m_AnchoredPosition: {x: 171, y: 0}
|
||||
m_SizeDelta: {x: 342, y: 40}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &3081095988798373702
|
||||
CanvasRenderer:
|
||||
@@ -3962,8 +3962,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.5}
|
||||
m_AnchorMax: {x: 0, y: 0.5}
|
||||
m_AnchoredPosition: {x: 85.50006, y: -1.0000229}
|
||||
m_SizeDelta: {x: 149, y: 20}
|
||||
m_AnchoredPosition: {x: 171, y: 0}
|
||||
m_SizeDelta: {x: 342, y: 40}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &5857656829540272755
|
||||
CanvasRenderer:
|
||||
@@ -4057,7 +4057,7 @@ MonoBehaviour:
|
||||
m_VertexBufferAutoSizeReduction: 0
|
||||
m_useMaxVisibleDescender: 1
|
||||
m_pageToDisplay: 1
|
||||
m_margin: {x: 0, y: -2.17, z: 0, w: 0}
|
||||
m_margin: {x: 13.465027, y: -2.17, z: 0, w: 0}
|
||||
m_isUsingLegacyAnimationComponent: 0
|
||||
m_isVolumetricText: 0
|
||||
m_hasFontAssetChanged: 0
|
||||
|
||||
@@ -16,16 +16,20 @@ public class LevelGiftitem : MonoBehaviour
|
||||
{
|
||||
public Image img_MianFei;
|
||||
public Image img_MianFeiDuiGou;
|
||||
public Image img_MianFeiBackForword;
|
||||
|
||||
public TextMeshProUGUI tmp_MianFeiPropCount;
|
||||
|
||||
public Image img_JingYing;
|
||||
public Image img_JingYingDuiGou;
|
||||
public Image img_JingYingBackForword;
|
||||
public Image img_JingYingLocal;
|
||||
public TextMeshProUGUI tmp_JingYingPropCount;
|
||||
|
||||
|
||||
public Image img_ZhiZun;
|
||||
public Image img_ZhiZunDuiGou;
|
||||
public Image img_ZhiZunBackForword;
|
||||
public Image img_ZhiZunLocal;
|
||||
public TextMeshProUGUI tmp_ZhiZunPropCount;
|
||||
|
||||
@@ -71,13 +75,13 @@ public class LevelGiftitem : MonoBehaviour
|
||||
if (giftType == 1 && sprite_Gold != null)
|
||||
{
|
||||
target.sprite = sprite_Gold;
|
||||
target.SetNativeSize();
|
||||
//target.SetNativeSize();
|
||||
|
||||
}
|
||||
else if (giftType == 2 && sprite_Diamond != null)
|
||||
{
|
||||
target.sprite = sprite_Diamond;
|
||||
target.SetNativeSize();
|
||||
//target.SetNativeSize();
|
||||
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(url))
|
||||
|
||||
Reference in New Issue
Block a user