Implemented second Version of automatically scaling Exhibit title

This commit is contained in:
2018-09-30 15:24:57 +02:00
parent 2eda7ca5aa
commit 3629fac6f2
6 changed files with 29 additions and 71 deletions

View File

@@ -19,7 +19,7 @@ RenderTexture:
m_MipMap: 1
m_GenerateMips: 1
m_SRGB: 1
m_UseDynamicScale: 1
m_UseDynamicScale: 0
m_BindMS: 0
m_TextureSettings:
serializedVersion: 2

View File

@@ -7,13 +7,13 @@ Material:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: UIBaseOpaque
m_Shader: {fileID: 4800000, guid: 3a1c68c8292caf046bd21158886c5e40, type: 3}
m_Shader: {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: ETC1_EXTERNAL_ALPHA _ALPHAPREMULTIPLY_ON _SPECULARHIGHLIGHTS_OFF
_SUNDISK_HIGH_QUALITY
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3000
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:

View File

@@ -225,7 +225,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_text: THIS IS MY TITLE
m_text: Title
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 715b80e429c437e40867928a4e1fc975, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 715b80e429c437e40867928a4e1fc975, type: 2}
@@ -292,10 +292,10 @@ MonoBehaviour:
m_margin: {x: 0.02, y: 0.02, z: 0.02, w: 0.02}
m_textInfo:
textComponent: {fileID: 114580846098669954}
characterCount: 16
characterCount: 5
spriteCount: 0
spaceCount: 3
wordCount: 4
spaceCount: 0
wordCount: 1
linkCount: 0
lineCount: 1
pageCount: 1
@@ -330,12 +330,12 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_IgnoreLayout: 0
m_MinWidth: 1
m_MinWidth: 0.5
m_MinHeight: -1
m_PreferredWidth: -1
m_PreferredHeight: -1
m_FlexibleWidth: -1
m_FlexibleHeight: 1000
m_FlexibleHeight: -1
m_LayoutPriority: 1
--- !u!114 &114807976848859904
MonoBehaviour: