Reworked Views to use CanvasScaler on screen size mode
This commit is contained in:
@@ -39,7 +39,6 @@ GameObject:
|
||||
- component: {fileID: 224125319600290544}
|
||||
- component: {fileID: 222946919128408452}
|
||||
- component: {fileID: 114416084065759590}
|
||||
- component: {fileID: 114798251844073798}
|
||||
m_Layer: 5
|
||||
m_Name: LanguageNameLabel
|
||||
m_TagString: Untagged
|
||||
@@ -127,7 +126,6 @@ GameObject:
|
||||
- component: {fileID: 224150896017563766}
|
||||
- component: {fileID: 222562460769798160}
|
||||
- component: {fileID: 114442948297432030}
|
||||
- component: {fileID: 114208553699807782}
|
||||
m_Layer: 5
|
||||
m_Name: Icon
|
||||
m_TagString: Untagged
|
||||
@@ -169,18 +167,6 @@ MonoBehaviour:
|
||||
m_ChildForceExpandHeight: 1
|
||||
m_ChildControlWidth: 1
|
||||
m_ChildControlHeight: 1
|
||||
--- !u!114 &114208553699807782
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1903496386009006}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fa4122a56a9a4e84a923d9e38fba6296, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
Padding: 0.02
|
||||
--- !u!114 &114269142431248838
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
@@ -300,8 +286,8 @@ MonoBehaviour:
|
||||
m_outlineColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4278190080
|
||||
m_fontSize: 18
|
||||
m_fontSizeBase: 18
|
||||
m_fontSize: 22
|
||||
m_fontSizeBase: 22
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
@@ -377,12 +363,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
|
||||
@@ -430,18 +416,6 @@ MonoBehaviour:
|
||||
m_BlockingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
--- !u!114 &114798251844073798
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1210141957160624}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8b136c9157840904ba79e96d50f494bc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
SizeClass: 1
|
||||
--- !u!114 &114941787814822646
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
@@ -599,10 +573,10 @@ RectTransform:
|
||||
m_Father: {fileID: 224360344833465170}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.95}
|
||||
m_AnchorMax: {x: 0.05, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 75, y: -75}
|
||||
m_SizeDelta: {x: 50, y: 50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!224 &224340703255627502
|
||||
RectTransform:
|
||||
@@ -618,10 +592,10 @@ RectTransform:
|
||||
m_Father: {fileID: 224360344833465170}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.2, y: 0}
|
||||
m_AnchorMax: {x: 0.8, y: 1}
|
||||
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 &224360344833465170
|
||||
RectTransform:
|
||||
@@ -679,6 +653,6 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 384, y: -540}
|
||||
m_SizeDelta: {x: 768, y: 1080}
|
||||
m_AnchoredPosition: {x: 350, y: -350}
|
||||
m_SizeDelta: {x: 700, y: 700}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
|
||||
Reference in New Issue
Block a user