UI fixes
This commit is contained in:
parent
0e071c5fa2
commit
fb74e99cbf
@ -7821,8 +7821,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: -90}
|
||||
m_SizeDelta: {x: 295.7585, y: 70}
|
||||
m_AnchoredPosition: {x: 0, y: -153}
|
||||
m_SizeDelta: {x: 407.8852, y: 96.5381}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &109379978
|
||||
MonoBehaviour:
|
||||
@ -10312,7 +10312,7 @@ RectTransform:
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: -64}
|
||||
m_SizeDelta: {x: -40, y: 68.7313}
|
||||
m_SizeDelta: {x: -40, y: 141.7113}
|
||||
m_Pivot: {x: 0.5, y: 1}
|
||||
--- !u!114 &130386534
|
||||
MonoBehaviour:
|
||||
@ -10361,12 +10361,12 @@ MonoBehaviour:
|
||||
m_faceColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 58.65
|
||||
m_fontSize: 100
|
||||
m_fontSizeBase: 36
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 1
|
||||
m_fontSizeMin: 18
|
||||
m_fontSizeMax: 72
|
||||
m_fontSizeMax: 100
|
||||
m_fontStyle: 0
|
||||
m_HorizontalAlignment: 2
|
||||
m_VerticalAlignment: 512
|
||||
@ -17819,8 +17819,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: 0}
|
||||
m_SizeDelta: {x: 295.7585, y: 70}
|
||||
m_AnchoredPosition: {x: 0, y: 13.700009}
|
||||
m_SizeDelta: {x: 411.527, y: 97.4}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &236729268
|
||||
MonoBehaviour:
|
||||
@ -19563,8 +19563,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: 0.5}
|
||||
m_SizeDelta: {x: 30, y: 4}
|
||||
m_AnchoredPosition: {x: 0, y: 0.6}
|
||||
m_SizeDelta: {x: 19.64, y: 6}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &252879533
|
||||
MonoBehaviour:
|
||||
@ -19613,12 +19613,12 @@ MonoBehaviour:
|
||||
m_faceColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 3.4
|
||||
m_fontSize: 5.1
|
||||
m_fontSizeBase: 24
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 1
|
||||
m_fontSizeMin: 0.02
|
||||
m_fontSizeMax: 9.13
|
||||
m_fontSizeMax: 19.3
|
||||
m_fontStyle: 0
|
||||
m_HorizontalAlignment: 2
|
||||
m_VerticalAlignment: 512
|
||||
@ -21524,8 +21524,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: 0}
|
||||
m_SizeDelta: {x: 650, y: 650}
|
||||
m_AnchoredPosition: {x: -0.0012207, y: 0}
|
||||
m_SizeDelta: {x: 723.27, y: 723.2712}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &278513130
|
||||
MonoBehaviour:
|
||||
@ -30914,8 +30914,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0}
|
||||
m_AnchorMax: {x: 0.5, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 50}
|
||||
m_SizeDelta: {x: 700, y: 32}
|
||||
m_AnchoredPosition: {x: 0, y: 76.65735}
|
||||
m_SizeDelta: {x: 846.2413, y: 38.6853}
|
||||
m_Pivot: {x: 0.5, y: 0}
|
||||
--- !u!114 &406583811
|
||||
MonoBehaviour:
|
||||
@ -58731,7 +58731,7 @@ RectTransform:
|
||||
m_AnchorMin: {x: 0.5, y: 0}
|
||||
m_AnchorMax: {x: 0.5, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 920, y: 50}
|
||||
m_SizeDelta: {x: 1288, y: 70}
|
||||
m_Pivot: {x: 0.5, y: 0}
|
||||
--- !u!114 &771478017
|
||||
MonoBehaviour:
|
||||
@ -67501,7 +67501,7 @@ RectTransform:
|
||||
m_AnchorMin: {x: 1, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 170.5492, y: 50}
|
||||
m_SizeDelta: {x: 283.2039, y: 83.027}
|
||||
m_Pivot: {x: 1, y: 0}
|
||||
--- !u!114 &885259531
|
||||
MonoBehaviour:
|
||||
@ -67550,7 +67550,7 @@ MonoBehaviour:
|
||||
m_faceColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 21.3
|
||||
m_fontSize: 35.4
|
||||
m_fontSizeBase: 36
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 1
|
||||
@ -72389,7 +72389,7 @@ RectTransform:
|
||||
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: 25}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 151.5}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &936259665
|
||||
@ -79740,7 +79740,7 @@ MonoBehaviour:
|
||||
m_faceColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 44
|
||||
m_fontSize: 71.4
|
||||
m_fontSizeBase: 24
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 1
|
||||
@ -104711,8 +104711,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0}
|
||||
m_AnchorMax: {x: 0.5, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 150, y: 4.549988}
|
||||
m_AnchoredPosition: {x: 0, y: 135}
|
||||
m_SizeDelta: {x: 213.6757, y: 6.4815}
|
||||
m_Pivot: {x: 0.5, y: 0}
|
||||
--- !u!114 &1382850122
|
||||
MonoBehaviour:
|
||||
@ -106645,8 +106645,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0.17028809, y: -64.83038}
|
||||
m_SizeDelta: {x: -119.5194, y: 136.2166}
|
||||
m_AnchoredPosition: {x: 0, y: -112}
|
||||
m_SizeDelta: {x: -200, y: 136.2166}
|
||||
m_Pivot: {x: 0.5, y: 1}
|
||||
--- !u!114 &1406049447
|
||||
MonoBehaviour:
|
||||
@ -106695,7 +106695,7 @@ MonoBehaviour:
|
||||
m_faceColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 49
|
||||
m_fontSize: 48.35
|
||||
m_fontSizeBase: 36
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 1
|
||||
@ -117869,12 +117869,12 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, 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: 1920, y: 1080}
|
||||
m_ScreenMatchMode: 0
|
||||
m_MatchWidthOrHeight: 0
|
||||
m_MatchWidthOrHeight: 0.5
|
||||
m_PhysicalUnit: 3
|
||||
m_FallbackScreenDPI: 96
|
||||
m_DefaultSpriteDPI: 96
|
||||
@ -125947,7 +125947,7 @@ RectTransform:
|
||||
m_AnchorMin: {x: 0.5, y: 0}
|
||||
m_AnchorMax: {x: 0.5, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 910, y: 48}
|
||||
m_SizeDelta: {x: 1274, y: 67.2}
|
||||
m_Pivot: {x: 0.5, y: 0}
|
||||
--- !u!114 &1663999322
|
||||
MonoBehaviour:
|
||||
@ -139878,8 +139878,8 @@ MonoBehaviour:
|
||||
m_faceColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 36
|
||||
m_fontSizeBase: 36
|
||||
m_fontSize: 50
|
||||
m_fontSizeBase: 50
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
@ -149537,7 +149537,7 @@ MonoBehaviour:
|
||||
m_faceColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 41.4
|
||||
m_fontSize: 64.05
|
||||
m_fontSizeBase: 24
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 1
|
||||
@ -153982,7 +153982,7 @@ RectTransform:
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 5.17}
|
||||
m_SizeDelta: {x: 497.6945, y: 497.6945}
|
||||
m_SizeDelta: {x: 723.2689, y: 723.2689}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &2079626612
|
||||
MonoBehaviour:
|
||||
|
@ -77,9 +77,9 @@ public class EmailUIController : MonoBehaviour
|
||||
string arabicLog = $"تم فتح البريد من '{data.senderName}' بعنوان '{data.subjectAr}'";
|
||||
|
||||
|
||||
SceneOutcomeManager.Instance.OnEmailOpened();
|
||||
if(isAlreadyOpened) return;
|
||||
UserActionLogger.Instance?.Log(englishLog, arabicLog);
|
||||
SceneOutcomeManager.Instance.OnEmailOpened();
|
||||
isAlreadyOpened = true;
|
||||
//UserActionLogger.Instance?.Log($"Opened email from '{data.senderName}' with subject '{data.subject}'");
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ public class NarrationPlayer : MonoBehaviour
|
||||
}
|
||||
|
||||
Instance = this;
|
||||
DontDestroyOnLoad(gameObject);
|
||||
// DontDestroyOnLoad(gameObject);
|
||||
|
||||
audioSource = gameObject.AddComponent<AudioSource>();
|
||||
audioSource.playOnAwake = false;
|
||||
@ -85,7 +85,7 @@ public class NarrationPlayer : MonoBehaviour
|
||||
|
||||
// TMP settings per language
|
||||
subtitleText.font = LanguageManager.Instance.GetCurrentFont();
|
||||
subtitleText.fontSize = isArabic ? 26 : 36;
|
||||
subtitleText.fontSize = isArabic ? 39 : 50;
|
||||
// subtitleText.alignment = isArabic ? TextAlignmentOptions.Right : TextAlignmentOptions.Left;
|
||||
subtitleText.overflowMode = TextOverflowModes.Page;
|
||||
subtitleText.isRightToLeftText = false; // MUST be false with ArabicFixer
|
||||
|
Loading…
x
Reference in New Issue
Block a user