lcy
4 天以前 0d708e19cccf155d4f25da305f224309e076d7a3
592 多语言适配

1.实现多语言文字适配组件TextLanguageAdapter
2.定军阁 首通奖励 挑战奖励适配多语言
1个文件已修改
124 ■■■■■ 已修改文件
UI/WarlordPavilionWin.prefab 124 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI/WarlordPavilionWin.prefab
@@ -1742,6 +1742,7 @@
  - component: {fileID: 5302140324230497109}
  - component: {fileID: 2365427368405289336}
  - component: {fileID: 580363229167861925}
  - component: {fileID: 5488285657450142046}
  m_Layer: 5
  m_Name: StarTower_txt_226
  m_TagString: Untagged
@@ -1756,7 +1757,7 @@
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 789244251037488163}
  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
@@ -1801,15 +1802,15 @@
    m_FontSize: 24
    m_FontStyle: 0
    m_BestFit: 0
    m_MinSize: 10
    m_MaxSize: 40
    m_MinSize: 8
    m_MaxSize: 24
    m_Alignment: 4
    m_AlignByGeometry: 0
    m_RichText: 1
    m_HorizontalOverflow: 0
    m_VerticalOverflow: 0
    m_LineSpacing: 0.85
  m_Text: "\u6311\u6218\u5956\u52B1"
  m_Text: Challenge Rewards
  m_IsKey: 1
  m_KeyName: WarlordPavilion03
  m_ColorType: 0
@@ -1828,6 +1829,61 @@
  m_EditorClassIdentifier: 
  m_OutlineColor: {r: 0, g: 0, b: 0, a: 0.5}
  OutlineWidth: 5
--- !u!114 &5488285657450142046
MonoBehaviour:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 789244251037488163}
  m_Enabled: 1
  m_EditorHideFlags: 0
  m_Script: {fileID: 11500000, guid: 8cf0191d06fb2924fb79d005580c1918, type: 3}
  m_Name:
  m_EditorClassIdentifier:
  m_LanguageConfigs:
    keys:
    - default
    - en
    values:
    - anchoredPosition: {x: 0, y: 0}
      sizeDelta: {x: 25, y: 129}
      anchorMin: {x: 0.5, y: 0.5}
      anchorMax: {x: 0.5, y: 0.5}
      pivot: {x: 0.5, y: 0.5}
      localScale: {x: 1, y: 1, z: 1}
      localRotation: {x: -0, y: 0, z: 0}
      font: {fileID: 12800000, guid: 111f1aa530e864341a505ce1acbfc0b8, type: 3}
      fontStyle: 0
      fontSize: 24
      lineSpacing: 0.85
      horizontalOverflow: 0
      verticalOverflow: 0
      resizeTextForBestFit: 0
      resizeTextMinSize: 10
      resizeTextMaxSize: 24
      alignment: 4
      alignByGeometry: 0
    - anchoredPosition: {x: 0, y: 0}
      sizeDelta: {x: 46, y: 129}
      anchorMin: {x: 0.5, y: 0.5}
      anchorMax: {x: 0.5, y: 0.5}
      pivot: {x: 0.5, y: 0.5}
      localScale: {x: 1, y: 1, z: 1}
      localRotation: {x: -0, y: 0, z: 0}
      font: {fileID: 12800000, guid: 111f1aa530e864341a505ce1acbfc0b8, type: 3}
      fontStyle: 0
      fontSize: 24
      lineSpacing: 0.85
      horizontalOverflow: 0
      verticalOverflow: 0
      resizeTextForBestFit: 1
      resizeTextMinSize: 8
      resizeTextMaxSize: 24
      alignment: 4
      alignByGeometry: 0
  m_TargetTextType: 2
  m_TargetTextComponent: {fileID: 2365427368405289336}
--- !u!1 &791002644826406810
GameObject:
  m_ObjectHideFlags: 0
@@ -7146,6 +7202,7 @@
  - component: {fileID: 91466686298688592}
  - component: {fileID: 3484918866350808178}
  - component: {fileID: 618450699033456822}
  - component: {fileID: 4091269151578806787}
  m_Layer: 5
  m_Name: StarTower_txt_219
  m_TagString: Untagged
@@ -7160,7 +7217,7 @@
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 4217748032976265694}
  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
@@ -7206,7 +7263,7 @@
    m_FontStyle: 0
    m_BestFit: 0
    m_MinSize: 10
    m_MaxSize: 40
    m_MaxSize: 24
    m_Alignment: 4
    m_AlignByGeometry: 0
    m_RichText: 1
@@ -7232,6 +7289,61 @@
  m_EditorClassIdentifier: 
  m_OutlineColor: {r: 0, g: 0, b: 0, a: 0.5}
  OutlineWidth: 5
--- !u!114 &4091269151578806787
MonoBehaviour:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 4217748032976265694}
  m_Enabled: 1
  m_EditorHideFlags: 0
  m_Script: {fileID: 11500000, guid: 8cf0191d06fb2924fb79d005580c1918, type: 3}
  m_Name:
  m_EditorClassIdentifier:
  m_LanguageConfigs:
    keys:
    - default
    - en
    values:
    - anchoredPosition: {x: 0.00000071526, y: -0.000018839}
      sizeDelta: {x: 25, y: 129}
      anchorMin: {x: 0.5, y: 0.5}
      anchorMax: {x: 0.5, y: 0.5}
      pivot: {x: 0.5, y: 0.5}
      localScale: {x: 1, y: 1, z: 1}
      localRotation: {x: -0, y: 0, z: 0}
      font: {fileID: 12800000, guid: 111f1aa530e864341a505ce1acbfc0b8, type: 3}
      fontStyle: 0
      fontSize: 24
      lineSpacing: 0.85
      horizontalOverflow: 0
      verticalOverflow: 0
      resizeTextForBestFit: 0
      resizeTextMinSize: 10
      resizeTextMaxSize: 24
      alignment: 4
      alignByGeometry: 0
    - anchoredPosition: {x: 0.00000095367, y: -0.000018839}
      sizeDelta: {x: 46, y: 129}
      anchorMin: {x: 0.5, y: 0.5}
      anchorMax: {x: 0.5, y: 0.5}
      pivot: {x: 0.5, y: 0.5}
      localScale: {x: 1, y: 1, z: 1}
      localRotation: {x: -0, y: 0, z: 0}
      font: {fileID: 12800000, guid: 111f1aa530e864341a505ce1acbfc0b8, type: 3}
      fontStyle: 0
      fontSize: 24
      lineSpacing: 0.85
      horizontalOverflow: 0
      verticalOverflow: 0
      resizeTextForBestFit: 1
      resizeTextMinSize: 10
      resizeTextMaxSize: 24
      alignment: 4
      alignByGeometry: 0
  m_TargetTextType: 2
  m_TargetTextComponent: {fileID: 3484918866350808178}
--- !u!1 &4390931384429432636
GameObject:
  m_ObjectHideFlags: 0