直播间UI优化
This commit is contained in:
parent
e4c60e700b
commit
46d6db89e4
@ -10778,7 +10778,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 1}
|
||||
m_AnchorMax: {x: 0.5, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 300}
|
||||
m_SizeDelta: {x: 1080, y: 2400}
|
||||
m_Pivot: {x: 0.5, y: 1}
|
||||
--- !u!222 &5139778395486899894
|
||||
|
||||
@ -410,8 +410,8 @@ RectTransform:
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 130, y: 50}
|
||||
m_Pivot: {x: 0.5, y: 0}
|
||||
m_SizeDelta: {x: 125, y: 50}
|
||||
m_Pivot: {x: 1, y: 0.5}
|
||||
--- !u!222 &4229845578044372453
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -461,7 +461,7 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: "<size=35><color=#FF594F>150</color></size>\u91D1\u5E01"
|
||||
m_text: "<size=26><color=#FF594F>150</color></size>\u91D1\u5E01"
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: ff9a33292f9ee2e4bb6b5beaa43eb505, type: 2}
|
||||
m_sharedMaterial: {fileID: 21889736603187208, guid: ff9a33292f9ee2e4bb6b5beaa43eb505,
|
||||
@ -647,7 +647,7 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 26
|
||||
m_fontSizeBase: 34
|
||||
m_fontSizeBase: 26
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 1
|
||||
m_fontSizeMin: 18
|
||||
@ -664,7 +664,7 @@ MonoBehaviour:
|
||||
m_charWidthMaxAdj: 0
|
||||
m_enableWordWrapping: 0
|
||||
m_wordWrappingRatios: 0.4
|
||||
m_overflowMode: 0
|
||||
m_overflowMode: 3
|
||||
m_linkedTextComponent: {fileID: 0}
|
||||
parentLinkedComponent: {fileID: 0}
|
||||
m_enableKerning: 1
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -79,9 +79,9 @@ RectTransform:
|
||||
- {fileID: 9167552268865036563}
|
||||
m_Father: {fileID: 921877353139759557}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 130, y: -107.265}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 250, y: 200}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1918899142028336845
|
||||
@ -335,6 +335,81 @@ MonoBehaviour:
|
||||
values: 00000100
|
||||
depObjs: []
|
||||
activeType: 0
|
||||
--- !u!1 &1729848791349669145
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2366088896627964485}
|
||||
- component: {fileID: 3159272984170786700}
|
||||
- component: {fileID: 8210333056965732675}
|
||||
m_Layer: 5
|
||||
m_Name: line
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &2366088896627964485
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1729848791349669145}
|
||||
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_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1106699212839708851}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.5}
|
||||
m_AnchorMax: {x: 1, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: -20, y: 2}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &3159272984170786700
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1729848791349669145}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &8210333056965732675
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1729848791349669145}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 0}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &2137168207413571509
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -368,9 +443,9 @@ RectTransform:
|
||||
m_Children: []
|
||||
m_Father: {fileID: 921877353139759557}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 130, y: -242.265}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 250, y: 40}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &1468198472670382789
|
||||
@ -524,9 +599,9 @@ RectTransform:
|
||||
- {fileID: 2046028008020939304}
|
||||
m_Father: {fileID: 7403682278865615684}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 145, y: -355.53}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 260, y: 40}
|
||||
m_Pivot: {x: 0.5, y: 1}
|
||||
--- !u!222 &6999211608020830386
|
||||
@ -1093,11 +1168,12 @@ RectTransform:
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 3739488678716093774}
|
||||
- {fileID: 2366088896627964485}
|
||||
m_Father: {fileID: 7403682278865615684}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 145, y: -307.53}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 260, y: 40}
|
||||
m_Pivot: {x: 0.5, y: 1}
|
||||
--- !u!222 &6133125297522168424
|
||||
@ -1174,9 +1250,9 @@ RectTransform:
|
||||
- {fileID: 255037437807012344}
|
||||
m_Father: {fileID: 7403682278865615684}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 145, y: -30}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 260, y: 269.53}
|
||||
m_Pivot: {x: 0.5, y: 1}
|
||||
--- !u!114 &6782897233886612511
|
||||
@ -1683,7 +1759,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &7403682278865615684
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@ -34,7 +34,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 32}
|
||||
m_AnchoredPosition: {x: 0, y: 25}
|
||||
m_SizeDelta: {x: -44, y: 180}
|
||||
m_Pivot: {x: 0.5, y: 0}
|
||||
--- !u!1 &1074999325634724959
|
||||
@ -211,7 +211,7 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: "\u8BF7\u9009\u62E91\u4EF6\u4F60\u9700\u8981\u7684\u9053\u5177\uFF01\uFF08\u53EA\u80FD\u90091\u4EF6\u54E6~\uFF09"
|
||||
m_text: "\u8BF7\u9009\u62E91\u4EF6\u4F60\u9700\u8981\u7684\u9053\u5177\uFF01\u53EA\u80FD\u90091\u4EF6\u54E6~"
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: ff9a33292f9ee2e4bb6b5beaa43eb505, type: 2}
|
||||
m_sharedMaterial: {fileID: 21889736603187208, guid: ff9a33292f9ee2e4bb6b5beaa43eb505,
|
||||
@ -247,11 +247,11 @@ MonoBehaviour:
|
||||
m_fontSizeMax: 26.1
|
||||
m_fontStyle: 0
|
||||
m_HorizontalAlignment: 1
|
||||
m_VerticalAlignment: 256
|
||||
m_VerticalAlignment: 512
|
||||
m_textAlignment: 65535
|
||||
m_characterSpacing: 0
|
||||
m_wordSpacing: 0
|
||||
m_lineSpacing: 0
|
||||
m_lineSpacing: 10
|
||||
m_lineSpacingMax: 0
|
||||
m_paragraphSpacing: 0
|
||||
m_charWidthMaxAdj: 0
|
||||
@ -313,6 +313,7 @@ RectTransform:
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 6168636553316943363}
|
||||
- {fileID: 1403160699553475078}
|
||||
- {fileID: 621304819282263091}
|
||||
m_Father: {fileID: 1584660167564850345}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@ -622,7 +623,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &7054304833251625581
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -663,7 +664,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0.627451, g: 0.7764706, b: 0.96862745, a: 1}
|
||||
m_Color: {r: 0.8962264, g: 0.7910862, b: 0.62144, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
@ -1127,7 +1128,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &1403160699553475078
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -1135,16 +1136,16 @@ RectTransform:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3406766526348488254}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
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_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 6168636553316943363}
|
||||
m_Father: {fileID: 9081103886450487307}
|
||||
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: 4, y: 2}
|
||||
m_AnchoredPosition: {x: 2.199997, y: 2}
|
||||
m_SizeDelta: {x: 28, y: 28}
|
||||
m_Pivot: {x: 1, y: 0.5}
|
||||
--- !u!222 &5070644114145336735
|
||||
@ -1168,7 +1169,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_Color: {r: 1, g: 0.95686275, b: 0.84313726, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
@ -1220,7 +1221,7 @@ RectTransform:
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 300}
|
||||
m_SizeDelta: {x: 0, y: 260}
|
||||
m_Pivot: {x: 0.5, y: 0}
|
||||
--- !u!222 &3302903602958081708
|
||||
CanvasRenderer:
|
||||
@ -1473,8 +1474,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: 0, y: 60}
|
||||
m_SizeDelta: {x: 820, y: 1460}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 820, y: 1185}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &5185679509561687913
|
||||
GameObject:
|
||||
@ -1510,8 +1511,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0}
|
||||
m_AnchorMax: {x: 0.5, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 175}
|
||||
m_SizeDelta: {x: 660, y: -550}
|
||||
m_AnchoredPosition: {x: 0, y: 135.0025}
|
||||
m_SizeDelta: {x: 660, y: -469.995}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &6229914577733863978
|
||||
GameObject:
|
||||
@ -1610,7 +1611,7 @@ MonoBehaviour:
|
||||
m_Right: 0
|
||||
m_Top: 10
|
||||
m_Bottom: 10
|
||||
mItemPadding: {x: 0, y: 40}
|
||||
mItemPadding: {x: 0, y: 30}
|
||||
mItemSize: {x: 0, y: 0}
|
||||
mItemRecycleDistance: {x: 50, y: 50}
|
||||
mItemSnapEnable: 0
|
||||
@ -1893,7 +1894,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 180}
|
||||
m_AnchoredPosition: {x: 0, y: 139}
|
||||
m_SizeDelta: {x: -100, y: 180}
|
||||
m_Pivot: {x: 0.5, y: 0}
|
||||
--- !u!1 &7731012351666373171
|
||||
@ -2024,7 +2025,7 @@ 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: -239.99998, y: 46.5}
|
||||
m_AnchoredPosition: {x: -224, y: 46.5}
|
||||
m_SizeDelta: {x: 292, y: 313}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &7898906961414257080
|
||||
@ -2208,8 +2209,7 @@ RectTransform:
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 1403160699553475078}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 9081103886450487307}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
@ -2784,7 +2784,7 @@ PrefabInstance:
|
||||
- target: {fileID: 7891311113810187545, guid: 07c9ccf10793c9a489ed28006a744844,
|
||||
type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: -44
|
||||
value: -43.999756
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7891311113810187545, guid: 07c9ccf10793c9a489ed28006a744844,
|
||||
type: 3}
|
||||
|
||||
@ -49,7 +49,7 @@ TextureImporter:
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 68, y: 42, z: 68, w: 42}
|
||||
spriteBorder: {x: 37, y: 43, z: 37, w: 43}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
|
||||
@ -647,8 +647,11 @@ end
|
||||
|
||||
--工具 LoadIcon
|
||||
function UILiveRoomView:LoadIcon_SetSprite(go, path)
|
||||
if go == nil then
|
||||
LogError("LoadIcon_SetSprite: path="..path.." go is nil")
|
||||
LogError(debug.traceback())
|
||||
end
|
||||
CommonUtil.LoadIcon(self, path, function(sprite)
|
||||
--LogError("LoadIcon_SetSprite: path="..path.." go.name"..go.name)
|
||||
go.image.sprite = sprite
|
||||
end)
|
||||
end
|
||||
@ -1514,7 +1517,7 @@ function UILiveRoomView:Gen_Bid_Rank_Item(loopview, index)
|
||||
local headpath = "PlayerHeads/player_head_" .. info.head_id
|
||||
self:LoadIcon_SetSprite(itemlua.head_img, headpath)
|
||||
itemlua.text_name.text.text = info.name
|
||||
itemlua.text_coin.text.text = "<size=35><color=#FF594F>" .. info.price .. "</color></size>金币"
|
||||
itemlua.text_coin.text.text = "<size=26><color=#FF594F>" .. info.price .. "</color></size>金币"
|
||||
return item
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user