Reworked Views to use CanvasScaler on screen size mode
This commit is contained in:
@@ -74,7 +74,6 @@ GameObject:
|
||||
- component: {fileID: 222203661534893336}
|
||||
- component: {fileID: 114856393737139808}
|
||||
- component: {fileID: 114365560402626540}
|
||||
- component: {fileID: 114766449491170998}
|
||||
m_Layer: 5
|
||||
m_Name: Headline
|
||||
m_TagString: Untagged
|
||||
@@ -145,7 +144,6 @@ GameObject:
|
||||
- component: {fileID: 224246252733405256}
|
||||
- component: {fileID: 222058416552286328}
|
||||
- component: {fileID: 114713400967023104}
|
||||
- component: {fileID: 114635645336116288}
|
||||
m_Layer: 5
|
||||
m_Name: Content
|
||||
m_TagString: Untagged
|
||||
@@ -164,7 +162,6 @@ GameObject:
|
||||
- component: {fileID: 222356890047705732}
|
||||
- component: {fileID: 114243583540241576}
|
||||
- component: {fileID: 114592252867868356}
|
||||
- component: {fileID: 114091865845724026}
|
||||
m_Layer: 5
|
||||
m_Name: Footer
|
||||
m_TagString: Untagged
|
||||
@@ -250,7 +247,6 @@ GameObject:
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 224229517299928608}
|
||||
- component: {fileID: 114876702735145276}
|
||||
m_Layer: 5
|
||||
m_Name: ButtonBack
|
||||
m_TagString: Untagged
|
||||
@@ -354,18 +350,6 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
ContentTextMesh: {fileID: 114713400967023104}
|
||||
FooterTextMesh: {fileID: 114243583540241576}
|
||||
--- !u!114 &114091865845724026
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1756409441568252}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8b136c9157840904ba79e96d50f494bc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
SizeClass: 1
|
||||
--- !u!114 &114178827671482430
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
@@ -431,8 +415,8 @@ MonoBehaviour:
|
||||
m_outlineColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4278190080
|
||||
m_fontSize: 12
|
||||
m_fontSizeBase: 12
|
||||
m_fontSize: 20
|
||||
m_fontSizeBase: 20
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
@@ -554,12 +538,12 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_UiScaleMode: 0
|
||||
m_UiScaleMode: 1
|
||||
m_ReferencePixelsPerUnit: 100
|
||||
m_ScaleFactor: 1
|
||||
m_ReferenceResolution: {x: 800, y: 600}
|
||||
m_ReferenceResolution: {x: 1024, y: 1024}
|
||||
m_ScreenMatchMode: 0
|
||||
m_MatchWidthOrHeight: 0
|
||||
m_MatchWidthOrHeight: 0.5
|
||||
m_PhysicalUnit: 3
|
||||
m_FallbackScreenDPI: 96
|
||||
m_DefaultSpriteDPI: 96
|
||||
@@ -683,18 +667,6 @@ MonoBehaviour:
|
||||
m_FlexibleWidth: -1
|
||||
m_FlexibleHeight: -1
|
||||
m_LayoutPriority: 1
|
||||
--- !u!114 &114635645336116288
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1749873518282982}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8b136c9157840904ba79e96d50f494bc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
SizeClass: 1
|
||||
--- !u!114 &114674931360058408
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
@@ -775,8 +747,8 @@ MonoBehaviour:
|
||||
m_outlineColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4278190080
|
||||
m_fontSize: 14
|
||||
m_fontSizeBase: 14
|
||||
m_fontSize: 20
|
||||
m_fontSizeBase: 20
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
@@ -793,7 +765,7 @@ MonoBehaviour:
|
||||
m_enableWordWrapping: 1
|
||||
m_wordWrappingRatios: 0.4
|
||||
m_overflowMode: 0
|
||||
m_firstOverflowCharacterIndex: -1
|
||||
m_firstOverflowCharacterIndex: 585
|
||||
m_linkedTextComponent: {fileID: 0}
|
||||
m_isLinkedTextComponent: 0
|
||||
m_enableKerning: 1
|
||||
@@ -820,7 +792,7 @@ MonoBehaviour:
|
||||
spaceCount: 82
|
||||
wordCount: 82
|
||||
linkCount: 0
|
||||
lineCount: 17
|
||||
lineCount: 21
|
||||
pageCount: 1
|
||||
materialCount: 1
|
||||
m_havePropertiesChanged: 1
|
||||
@@ -863,18 +835,6 @@ MonoBehaviour:
|
||||
m_ChildForceExpandHeight: 1
|
||||
m_ChildControlWidth: 1
|
||||
m_ChildControlHeight: 1
|
||||
--- !u!114 &114766449491170998
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1405117012794444}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8b136c9157840904ba79e96d50f494bc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
SizeClass: 0
|
||||
--- !u!114 &114769754509622112
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
@@ -967,8 +927,8 @@ MonoBehaviour:
|
||||
m_outlineColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4278190080
|
||||
m_fontSize: 24
|
||||
m_fontSizeBase: 24
|
||||
m_fontSize: 40
|
||||
m_fontSizeBase: 40
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
@@ -985,7 +945,7 @@ MonoBehaviour:
|
||||
m_enableWordWrapping: 1
|
||||
m_wordWrappingRatios: 0.4
|
||||
m_overflowMode: 0
|
||||
m_firstOverflowCharacterIndex: -1
|
||||
m_firstOverflowCharacterIndex: 13
|
||||
m_linkedTextComponent: {fileID: 0}
|
||||
m_isLinkedTextComponent: 0
|
||||
m_enableKerning: 1
|
||||
@@ -1050,7 +1010,7 @@ MonoBehaviour:
|
||||
m_PreferredWidth: -1
|
||||
m_PreferredHeight: -1
|
||||
m_FlexibleWidth: -1
|
||||
m_FlexibleHeight: 3
|
||||
m_FlexibleHeight: 5
|
||||
m_LayoutPriority: 1
|
||||
--- !u!114 &114873919048767614
|
||||
MonoBehaviour:
|
||||
@@ -1074,18 +1034,6 @@ MonoBehaviour:
|
||||
m_ChildForceExpandHeight: 1
|
||||
m_ChildControlWidth: 1
|
||||
m_ChildControlHeight: 1
|
||||
--- !u!114 &114876702735145276
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1890170837794496}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fa4122a56a9a4e84a923d9e38fba6296, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
Padding: 0.01
|
||||
--- !u!114 &114905389833756770
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
@@ -1234,10 +1182,10 @@ RectTransform:
|
||||
m_Father: {fileID: 224360344833465170}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.1, y: 0.1}
|
||||
m_AnchorMax: {x: 0.9, y: 0.9}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 700, y: 700}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!224 &224105024989387982
|
||||
RectTransform:
|
||||
@@ -1296,10 +1244,10 @@ RectTransform:
|
||||
m_Father: {fileID: 224360344833465170}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.9, y: 0.9}
|
||||
m_AnchorMin: {x: 1, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: -75, y: -75}
|
||||
m_SizeDelta: {x: 100, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!224 &224246252733405256
|
||||
RectTransform:
|
||||
|
||||
Reference in New Issue
Block a user