成长礼包美元符号位置

dev_chengFeng
ZhangBiao 2020-08-26 19:08:21 +08:00
parent 87891b2798
commit 134b70ce33
3 changed files with 144 additions and 61 deletions

View File

@ -252,7 +252,8 @@ RectTransform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Children:
- {fileID: 296289172106937082}
m_Father: {fileID: 53820364}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -339,7 +340,7 @@ 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: -60, y: 0}
m_AnchoredPosition: {x: -67, y: 0}
m_SizeDelta: {x: 22, y: 43}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &384446963
@ -357,7 +358,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 384446960}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
@ -5661,7 +5662,7 @@ 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: 6.8, y: 0}
m_AnchoredPosition: {x: 34.5, y: 0}
m_SizeDelta: {x: 250, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2337293845181566925
@ -5705,7 +5706,7 @@ MonoBehaviour:
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text:
m_Text: 111
--- !u!114 &4148450475228044834
MonoBehaviour:
m_ObjectHideFlags: 0
@ -6527,7 +6528,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: -0.000010519653, y: 0}
m_AnchoredPosition: {x: 0.000045690987, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &6954504526559241720
@ -9067,6 +9068,80 @@ MonoBehaviour:
m_EffectColor: {r: 1, g: 0.85490197, b: 0.70980394, a: 1}
m_EffectDistance: {x: 1, y: -1}
m_UseGraphicAlpha: 1
--- !u!1 &5318928877762306607
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 296289172106937082}
- component: {fileID: 7686512266488052430}
- component: {fileID: 1496658283171827703}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &296289172106937082
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5318928877762306607}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 296395606}
m_RootOrder: 0
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: 100.2, y: -1}
m_SizeDelta: {x: 22, y: 43}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7686512266488052430
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5318928877762306607}
m_CullTransparentMesh: 0
--- !u!114 &1496658283171827703
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5318928877762306607}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: 1e2d84c75cd281242a2bf1f69edfec36, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
--- !u!1 &5332957532347260993
GameObject:
m_ObjectHideFlags: 0
@ -12563,60 +12638,6 @@ PrefabInstance:
propertyPath: m_Name
value: freeBtn
objectReference: {fileID: 0}
- target: {fileID: 1094093250584210, guid: 584f6c7286705c645ab8323012566269, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1708856882303358, guid: 584f6c7286705c645ab8323012566269, type: 3}
propertyPath: m_Name
value: UI_effect_TanSuo_Box
objectReference: {fileID: 0}
- target: {fileID: 114761016256353280, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_Sprite
value:
objectReference: {fileID: 21300000, guid: 66a42b5e6f23e0a4ab71bf77c6b3754b,
type: 3}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 14.6
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_SizeDelta.x
value: 779.2
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_SizeDelta.y
value: 1029.2
objectReference: {fileID: 0}
- target: {fileID: 224764860612850798, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_LocalPosition.x
@ -12732,6 +12753,60 @@ PrefabInstance:
propertyPath: m_LocalScale.y
value: 1.5
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 14.6
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_SizeDelta.x
value: 779.2
objectReference: {fileID: 0}
- target: {fileID: 224669491156715612, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_SizeDelta.y
value: 1029.2
objectReference: {fileID: 0}
- target: {fileID: 1708856882303358, guid: 584f6c7286705c645ab8323012566269, type: 3}
propertyPath: m_Name
value: UI_effect_TanSuo_Box
objectReference: {fileID: 0}
- target: {fileID: 1094093250584210, guid: 584f6c7286705c645ab8323012566269, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 114761016256353280, guid: 584f6c7286705c645ab8323012566269,
type: 3}
propertyPath: m_Sprite
value:
objectReference: {fileID: 21300000, guid: 66a42b5e6f23e0a4ab71bf77c6b3754b,
type: 3}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 584f6c7286705c645ab8323012566269, type: 3}
--- !u!1 &3812896437756706176 stripped

View File

@ -7620,6 +7620,10 @@ MonoBehaviour:
extension: .png
resPathIndex: 43
resAbNameIndex: 21
- resName: r_zjm_huodongicon-shijuezhen
extension: .png
resPathIndex: 43
resAbNameIndex: 21
- resName: r_zjm_huodongicon-shouchong2
extension: .png
resPathIndex: 43
@ -7652,6 +7656,10 @@ MonoBehaviour:
extension: .png
resPathIndex: 43
resAbNameIndex: 21
- resName: r_zjm_huodongicon-zhushengzhidian
extension: .png
resPathIndex: 43
resAbNameIndex: 21
- resName: r_zjm_icon-baibaozai
extension: .png
resPathIndex: 43

View File

@ -323,7 +323,7 @@ end
--根据数字位数计算艺术字体后面的文字位置
function GiftView:SetTextPos(num1)
local x = (string.len(tostring(num1))-1)*18 - 50
local x = (string.len(tostring(num1))-1)*18 - 60
return x
end