Commit 3bd840a6 authored by Yousef Sameh's avatar Yousef Sameh

token refresh on resume + error reversed text fix + better UI handling

parent 5fcacb0c
...@@ -51,6 +51,30 @@ public class AppRouter : MonoBehaviour ...@@ -51,6 +51,30 @@ public class AppRouter : MonoBehaviour
HandleBackButton(); HandleBackButton();
} }
private void OnApplicationPause(bool pause)
{
if (!pause && SupabaseManager.Instance?.IsInitialized == true)
{
RefreshSessionOnResume().Forget();
}
}
private async UniTaskVoid RefreshSessionOnResume()
{
if (SupabaseManager.Instance?.Supabase()?.Auth?.CurrentUser == null)
return;
try
{
await SupabaseManager.Instance.Supabase().Auth.RefreshSession();
Debug.Log("[AppRouter] Session refreshed on resume");
}
catch (Exception e)
{
Debug.LogWarning($"[AppRouter] Session refresh failed on resume: {e.Message}");
}
}
private void HandleBackButton() private void HandleBackButton()
{ {
// Safety: Don't let the back button break an active game session // Safety: Don't let the back button break an active game session
...@@ -85,8 +109,10 @@ public class AppRouter : MonoBehaviour ...@@ -85,8 +109,10 @@ public class AppRouter : MonoBehaviour
// Execution halts here until isConnected is true // Execution halts here until isConnected is true
await EnsureNetworkConnection(); await EnsureNetworkConnection();
await SupabaseManager.Instance.Initialize();
// --- STEP 2: Authentication Session --- // --- STEP 2: Authentication Session ---
UpdateStatus("Checking session...");
var authResult = await SupabaseAuthentication.Instance.EnsureSession(); var authResult = await SupabaseAuthentication.Instance.EnsureSession();
if (authResult.IsT1) // No valid session found if (authResult.IsT1) // No valid session found
...@@ -102,13 +128,11 @@ public class AppRouter : MonoBehaviour ...@@ -102,13 +128,11 @@ public class AppRouter : MonoBehaviour
} }
// --- STEP 3: Load User Profile --- // --- STEP 3: Load User Profile ---
UpdateStatus("Fetching profile...");
var prof = await UserService.Instance.GetCurrentUser(); var prof = await UserService.Instance.GetCurrentUser();
prof.Switch( prof.Switch(
async success => async success =>
{ {
UpdateStatus("Welcome back!");
TransitionManager.Instance().Transition("MainMenu", transitionSettings, 0.5f); TransitionManager.Instance().Transition("MainMenu", transitionSettings, 0.5f);
UserService.Instance.StartListening(); UserService.Instance.StartListening();
}, },
...@@ -168,16 +192,22 @@ public class AppRouter : MonoBehaviour ...@@ -168,16 +192,22 @@ public class AppRouter : MonoBehaviour
{ {
attempts++; attempts++;
UpdateStatus(attempts == 1 ? "Connecting..." : "Waiting for network...");
if (simulateNetworkFailure) switch (Application.internetReachability)
{ {
Debug.LogWarning("[TEST] simulateNetworkFailure is ON. Mocking connection failure."); case NetworkReachability.NotReachable:
isConnected = false; isConnected = false;
break;
case NetworkReachability.ReachableViaCarrierDataNetwork:
case NetworkReachability.ReachableViaLocalAreaNetwork:
isConnected = true;
break;
} }
else
if (simulateNetworkFailure)
{ {
isConnected = await SupabaseManager.Instance.Initialize(); Debug.LogWarning("[TEST] simulateNetworkFailure is ON. Mocking connection failure.");
isConnected = false;
} }
if (!isConnected) if (!isConnected)
...@@ -197,15 +227,9 @@ public class AppRouter : MonoBehaviour ...@@ -197,15 +227,9 @@ public class AppRouter : MonoBehaviour
AnimateOut(); AnimateOut();
} }
}
UpdateStatus("Connected!");
await UniTask.Delay(500); // Visual polish
} }
private void UpdateStatus(string message)
{
Debug.Log($"[AppRouter] {message}");
} }
// ─── Auth State Listener (Safety Net) ─────────────────────────── // ─── Auth State Listener (Safety Net) ───────────────────────────
......
using System.Linq;
using com.al_arcade.shared; using com.al_arcade.shared;
using Cysharp.Threading.Tasks;
using DG.Tweening;
using UnityEngine; using UnityEngine;
using UnityEngine.UIElements; using UnityEngine.UIElements;
...@@ -11,26 +8,6 @@ public class HomeController : MonoBehaviour ...@@ -11,26 +8,6 @@ public class HomeController : MonoBehaviour
[SerializeField] private GameObject challengePrefab; [SerializeField] private GameObject challengePrefab;
[SerializeField] private int minQuestionsPerType = 5; [SerializeField] private int minQuestionsPerType = 5;
private Label username;
private Label xp;
private Label rank;
private Label xpRankEnd;
private CustomProgressBar nextRankProgressBar;
private Button challengeButton;
private Button practiceButton;
private Label nameMenuPanel;
private Label xpMenuPanel;
private Label rankMenuPanel;
private ScrollView activityScrollView;
private Button logoutButton;
private VisualElement menuPanel;
// Navigation guard — prevents concurrent Challenge + Practice clicks
public static bool IsNavigating { get; private set; } public static bool IsNavigating { get; private set; }
void Start() void Start()
...@@ -38,49 +15,42 @@ public class HomeController : MonoBehaviour ...@@ -38,49 +15,42 @@ public class HomeController : MonoBehaviour
QualitySettings.vSyncCount = 0; QualitySettings.vSyncCount = 0;
var root = mainMenuDocument.rootVisualElement.Q("Home"); var root = mainMenuDocument.rootVisualElement.Q("Home");
menuPanel = mainMenuDocument.rootVisualElement.Q("MenuPanel");
username = root.Q<Label>("Username");
rank = root.Q<Label>("Rank");
xp = root.Q<Label>("XP");
xpRankEnd = root.Q<Label>("XPRankEnd");
nextRankProgressBar = root.Q<CustomProgressBar>("NextRankProgressBar");
UserService.Instance.OnUserChanged += OnUserChange;
challengeButton = root.Q<Button>("Challenge"); root.Q<Button>("Challenge").clicked += OnChallengeButtonClicked;
challengeButton.clicked += OnChallengeButtonClicked; root.Q<Button>("OpenChallengePanel").clicked += OnChallengePanelButtonClicked;
practiceButton = root.Q<Button>("OpenPracticeButton");
SetPlayButtonsEnabled(false); SetPlayButtonsEnabled(false);
UserService.Instance.OnUserChanged += OnUserChange;
OnUserChange(UserService.Instance.CurrentUser); OnUserChange(UserService.Instance.CurrentUser);
} }
private void OnUserChange(User user) private void OnUserChange(User user)
{ {
if (user == null) if (user == null)
{ {
Debug.LogWarning("[HomeController] No user logged in"); Debug.LogWarning("[HomeController] No user logged in");
return; return;
} }
username.text = user.Username; var root = mainMenuDocument.rootVisualElement.Q("Home");
xp.text = user.Points.ToString();
rank.text = user.Rank;
xpRankEnd.text = $"{user.Points} / {Rank.FromXP(user.Points).EndXP}";
nextRankProgressBar.Value = Rank.FromXP(user.Points).Progress(user.Points); root.Q<Label>("Username").text = user.Username;
nextRankProgressBar.LeftText = Rank.FromXP(user.Points).StartXP.ToString() + " " + Rank.FromXP(user.Points).Name; root.Q<Label>("XP").text = user.Points.ToString();
nextRankProgressBar.RightText = Rank.FromXP(user.Points).Next?.StartXP.ToString() + " " + Rank.FromXP(user.Points).Next?.Name; root.Q<Label>("Rank").text = user.Rank;
root.Q<Label>("XPRankEnd").text = $"{user.Points} / {Rank.FromXP(user.Points).EndXP}";
var progressBar = root.Q<CustomProgressBar>("NextRankProgressBar");
progressBar.Value = Rank.FromXP(user.Points).Progress(user.Points);
progressBar.LeftText = Rank.FromXP(user.Points).StartXP.ToString() + " " + Rank.FromXP(user.Points).Name;
progressBar.RightText = Rank.FromXP(user.Points).Next?.StartXP.ToString() + " " + Rank.FromXP(user.Points).Next?.Name;
CheckQuestionAvailability(user); CheckQuestionAvailability(user);
} }
private void CheckQuestionAvailability(User user) private void CheckQuestionAvailability(User user)
{ {
Debug.Log("Checking question availability for user: " + user.Username + " (Grade: " + user.Grade + ", Term: " + user.Term + ")"); Debug.Log("Checking question availability for user: " + user.Username + " (Grade: " + user.Grade + ", Term: " + user.Term + user.Curriculum);
StartCoroutine(SSApiManager.EnsureInstance().GetChapters( StartCoroutine(SSApiManager.EnsureInstance().GetChapters(
chapters => chapters =>
{ {
...@@ -96,7 +66,11 @@ public class HomeController : MonoBehaviour ...@@ -96,7 +66,11 @@ public class HomeController : MonoBehaviour
&& cs >= minQuestionsPerType; && cs >= minQuestionsPerType;
SetPlayButtonsEnabled(enough); SetPlayButtonsEnabled(enough);
}, },
_ => SetPlayButtonsEnabled(false), _ =>
{
Debug.LogError("Failed to load chapters for user: " + user.Username);
SetPlayButtonsEnabled(false);
},
curriculumId: user.Curriculum, curriculumId: user.Curriculum,
gradeId: user.Grade, gradeId: user.Grade,
termId: user.Term termId: user.Term
...@@ -105,11 +79,16 @@ public class HomeController : MonoBehaviour ...@@ -105,11 +79,16 @@ public class HomeController : MonoBehaviour
private void SetPlayButtonsEnabled(bool enabled) private void SetPlayButtonsEnabled(bool enabled)
{ {
if (challengeButton != null) var root = mainMenuDocument.rootVisualElement.Q("Home");
var openChallengePanelButton = root.Q<Button>("OpenChallengePanel");
var practiceButton = root.Q<Button>("OpenPracticeButton");
if (openChallengePanelButton != null)
{ {
challengeButton.SetEnabled(enabled); openChallengePanelButton.SetEnabled(enabled);
challengeButton.style.opacity = enabled ? 1f : 0.35f; openChallengePanelButton.style.opacity = enabled ? 1f : 0.35f;
} }
if (practiceButton != null) if (practiceButton != null)
{ {
practiceButton.SetEnabled(enabled); practiceButton.SetEnabled(enabled);
...@@ -123,38 +102,11 @@ public class HomeController : MonoBehaviour ...@@ -123,38 +102,11 @@ public class HomeController : MonoBehaviour
{ {
if (SupabaseManager.Instance.Supabase().Auth.CurrentUser.IsAnonymous) if (SupabaseManager.Instance.Supabase().Auth.CurrentUser.IsAnonymous)
{ {
challengeButton.style.opacity = 0.35f; var root = mainMenuDocument.rootVisualElement.Q("Home");
root.Q<Button>("OpenChallengePanel").style.opacity = 0.35f;
} }
} }
// private void OnNewActivityReceived(Activity activity)
// {
// var name = activity.Message.Split(" ")[0];
// var label = new Label($"<color=#FED700>{name}</color> {activity.Message[name.Length..]}");
// activityScrollView.Add(label);
// activityScrollView.contentContainer.RegisterCallbackOnce<GeometryChangedEvent>(_ =>
// {
// var targetScroll = activityScrollView.horizontalScroller.highValue;
// var currentScroll = activityScrollView.scrollOffset;
// activityScrollView.schedule.Execute(() =>
// {
// var newOffset = Mathf.Lerp(currentScroll.x, targetScroll, 0.15f);
// if (Mathf.Abs(targetScroll - newOffset) < 1f)
// {
// activityScrollView.scrollOffset = new Vector2(targetScroll, currentScroll.y);
// return;
// }
// currentScroll.x = newOffset;
// activityScrollView.scrollOffset = currentScroll;
// }).Every(16).Until(() => Mathf.Abs(activityScrollView.scrollOffset.x - targetScroll) < 1f);
// });
// }
private void OnChallengeButtonClicked() private void OnChallengeButtonClicked()
{ {
if (SupabaseManager.Instance.Supabase().Auth.CurrentUser.IsAnonymous) if (SupabaseManager.Instance.Supabase().Auth.CurrentUser.IsAnonymous)
...@@ -166,8 +118,10 @@ public class HomeController : MonoBehaviour ...@@ -166,8 +118,10 @@ public class HomeController : MonoBehaviour
if (IsNavigating) return; if (IsNavigating) return;
IsNavigating = true; IsNavigating = true;
challengeButton.SetEnabled(false); // var root = mainMenuDocument.rootVisualElement.Q("Home");
if (practiceButton != null) practiceButton.SetEnabled(false); // root.Q<Button>("Challenge").SetEnabled(false);
// var practiceButton = root.Q<Button>("OpenPracticeButton");
// practiceButton?.SetEnabled(false);
var challenge = Instantiate(challengePrefab); var challenge = Instantiate(challengePrefab);
var challengeManager = challenge.GetComponent<ChallengeManager>(); var challengeManager = challenge.GetComponent<ChallengeManager>();
...@@ -175,10 +129,17 @@ public class HomeController : MonoBehaviour ...@@ -175,10 +129,17 @@ public class HomeController : MonoBehaviour
challengeManager.StartChallenge(); challengeManager.StartChallenge();
} }
private void OnChallengePanelButtonClicked()
{
if (SupabaseManager.Instance.Supabase().Auth.CurrentUser.IsAnonymous)
{
ShowUIMessage.Instance.ShowMessage("سجل حساب أو سجل دخولك لتتمكن من الوصول إلى التحدي", true);
}
}
private void OnDestroy() private void OnDestroy()
{ {
IsNavigating = false; IsNavigating = false;
UserService.Instance.OnUserChanged -= OnUserChange; UserService.Instance.OnUserChanged -= OnUserChange;
challengeButton.clicked -= OnChallengeButtonClicked;
} }
} }
using System; using System;
using System.Collections.Generic;
using System.Threading; using System.Threading;
using Cysharp.Threading.Tasks; using Cysharp.Threading.Tasks;
using UnityEngine; using UnityEngine;
...@@ -30,13 +29,14 @@ public class LeaderboardController : MonoBehaviour, IDisposable ...@@ -30,13 +29,14 @@ public class LeaderboardController : MonoBehaviour, IDisposable
Button myRankButton = root.Q<Button>("MyRankButton"); Button myRankButton = root.Q<Button>("MyRankButton");
myRankButton.clicked += () => myRankButton.clicked += () =>
{ {
if(currentPlayerSlot == null) if (currentPlayerSlot == null)
{ {
ShowUIMessage.Instance.ShowMessage("حسابك ليس من ضمن افضل 100 لاعب"); ShowUIMessage.Instance.ShowMessage("حسابك ليس من ضمن افضل 100 لاعب");
} }
else else
{ {
leaderBoardScrollView.experimental.animation.Start(leaderBoardScrollView.scrollOffset.y, currentPlayerSlot.layout.y, 300, (v, t) => { leaderBoardScrollView.experimental.animation.Start(leaderBoardScrollView.scrollOffset.y, currentPlayerSlot.layout.y, 300, (v, t) =>
{
leaderBoardScrollView.scrollOffset = new Vector2(leaderBoardScrollView.scrollOffset.x, t); leaderBoardScrollView.scrollOffset = new Vector2(leaderBoardScrollView.scrollOffset.x, t);
}); });
} }
...@@ -75,7 +75,7 @@ public class LeaderboardController : MonoBehaviour, IDisposable ...@@ -75,7 +75,7 @@ public class LeaderboardController : MonoBehaviour, IDisposable
return; return;
result.Switch( result.Switch(
(List<LeaderboardPlayerModel> players) => players =>
{ {
currentPlayerSlot = null; currentPlayerSlot = null;
...@@ -104,10 +104,9 @@ public class LeaderboardController : MonoBehaviour, IDisposable ...@@ -104,10 +104,9 @@ public class LeaderboardController : MonoBehaviour, IDisposable
allPlayersContainer.Add(entry); allPlayersContainer.Add(entry);
} }
}, },
(string error) => error =>
{ {
var errorLabel = new Label($"Error loading leaderboard: {error}"); Debug.LogError($"Failed to load leaderboard: {error}");
allPlayersContainer.Add(errorLabel);
} }
); );
} }
......
using UnityEngine; using UnityEngine;
using UnityEngine.UIElements; using UnityEngine.UIElements;
public class ProfileController : MonoBehaviour public class ProfileController : MonoBehaviour
{ {
[SerializeField] private UIDocument profileDocument; [SerializeField] private UIDocument profileDocument;
private Label name;
private Button logoutButton;
private Button updateProfileButton;
private TextField UsernameLabel;
private DropdownField Grade;
private DropdownField Term;
private DropdownField Curriculum;
private CustomSwitch musicSwitch;
private CustomSwitch sfxSwitch;
private Button sure;
void Start() void Start()
{ {
var root = profileDocument.rootVisualElement.Q("Settings"); var root = profileDocument.rootVisualElement.Q("Settings");
name = root.Q<Label>("Username");
logoutButton = root.Q<Button>("LogoutButton");
logoutButton.clicked += AppRouter.Logout;
updateProfileButton = root.Q<Button>("UpdateProfile"); root.Q<Button>("LogoutButton").clicked += AppRouter.Logout;
updateProfileButton.clicked += () => root.Q<Button>("UpdateProfile").clicked += () => UpdateProfile();
{
UpdateProfile();
};
UsernameLabel = root.Q<TextField>("Name");
Grade = root.Q<DropdownField>("Grade");
Term = root.Q<DropdownField>("TermDrop");
Curriculum = root.Q<DropdownField>("Curriculum");
musicSwitch = root.Q<CustomSwitch>("MusicSwitch"); root.Q<CustomSwitch>("MusicSwitch").IsOn = SettingsCache.MusicEnabled;
sfxSwitch = root.Q<CustomSwitch>("SFXSwitch"); root.Q<CustomSwitch>("SFXSwitch").IsOn = SettingsCache.SfxEnabled;
musicSwitch.IsOn = SettingsCache.MusicEnabled; root.Q<CustomSwitch>("MusicSwitch").onValueChanged += (value) => SettingsCache.MusicEnabled = value;
sfxSwitch.IsOn = SettingsCache.SfxEnabled; root.Q<CustomSwitch>("SFXSwitch").onValueChanged += (value) => SettingsCache.SfxEnabled = value;
musicSwitch.onValueChanged += (value) => SettingsCache.MusicEnabled = value; profileDocument.rootVisualElement.Q<Button>("Sure").clicked += DeleteAccount;
sfxSwitch.onValueChanged += (value) => SettingsCache.SfxEnabled = value;
sure = profileDocument.rootVisualElement.Q<Button>("Sure");
sure.clicked += DeleteAccount;
UserService.Instance.OnUserChanged += OnUserChange; UserService.Instance.OnUserChanged += OnUserChange;
OnUserChange(UserService.Instance.CurrentUser); OnUserChange(UserService.Instance.CurrentUser);
...@@ -57,39 +28,47 @@ public class ProfileController : MonoBehaviour ...@@ -57,39 +28,47 @@ public class ProfileController : MonoBehaviour
{ {
if (user == null) return; if (user == null) return;
name.text = user.Username; var root = profileDocument.rootVisualElement.Q("Settings");
UsernameLabel.value = user.Username;
Grade.value = EducationManager.GetGradeName(user.Grade); root.Q<Label>("Username").text = user.Username;
Term.value = EducationManager.GetTermName(user.Term); root.Q<Label>("Email").text = user.Email;
Curriculum.value = EducationManager.GetCurriculumName(user.Curriculum); root.Q<TextField>("Name").value = user.Username;
root.Q<DropdownField>("Grade").value = EducationManager.GetGradeName(user.Grade);
root.Q<DropdownField>("TermDrop").value = EducationManager.GetTermName(user.Term);
root.Q<DropdownField>("Curriculum").value = EducationManager.GetCurriculumName(user.Curriculum);
} }
private async void UpdateProfile() private async void UpdateProfile()
{ {
var root = profileDocument.rootVisualElement.Q("Settings");
var updateProfileButton = root.Q<Button>("UpdateProfile");
updateProfileButton.SetEnabled(false); updateProfileButton.SetEnabled(false);
int gradeId = EducationManager.GetGradeId(Grade.value); var gradeValue = root.Q<DropdownField>("Grade").value;
int termId = EducationManager.GetTermId(Term.value); var termValue = root.Q<DropdownField>("TermDrop").value;
int curriculumId = EducationManager.GetCurriculumId(Curriculum.value); var curriculumValue = root.Q<DropdownField>("Curriculum").value;
print("Updating profile with: " + UsernameLabel.value + ", Grade: " + gradeId + ", Term: " + termId); int gradeId = EducationManager.GetGradeId(gradeValue);
int termId = EducationManager.GetTermId(termValue);
int curriculumId = EducationManager.GetCurriculumId(curriculumValue);
print("Updating profile with: " + root.Q<TextField>("Name").value + ", Grade: " + gradeId + ", Term: " + termId);
if (gradeId < 0 || termId < 0 || curriculumId < 0) if (gradeId < 0 || termId < 0 || curriculumId < 0)
{ {
updateProfileButton.SetEnabled(true); updateProfileButton.SetEnabled(true);
Debug.LogWarning("[Profile] Invalid grade or term selection"); Debug.LogWarning("[Profile] Invalid grade or term selection");
return; return;
} }
await UserService.Instance.UpdateProfile( await UserService.Instance.UpdateProfile(
username: UsernameLabel.value, username: root.Q<TextField>("Name").value,
grade: gradeId, grade: gradeId,
term: termId, term: termId,
curriculum: curriculumId curriculum: curriculumId
); );
updateProfileButton.SetEnabled(true); updateProfileButton.SetEnabled(true);
ShowUIMessage.Instance.ShowMessage("تم تحديث البيانات بنجاح", false); ShowUIMessage.Instance.ShowMessage("تم تحديث البيانات بنجاح", false);
} }
...@@ -102,9 +81,5 @@ public class ProfileController : MonoBehaviour ...@@ -102,9 +81,5 @@ public class ProfileController : MonoBehaviour
private void OnDestroy() private void OnDestroy()
{ {
UserService.Instance.OnUserChanged -= OnUserChange; UserService.Instance.OnUserChanged -= OnUserChange;
logoutButton.clicked -= AppRouter.Logout;
updateProfileButton.clicked -= UpdateProfile;
} }
} }
...@@ -10,106 +10,107 @@ ...@@ -10,106 +10,107 @@
<ui:VisualElement name="ProfileImage" style="flex-grow: 0; height: 300px; width: 200px; background-image: none; -unity-background-scale-mode: scale-to-fit; margin-left: 0; background-color: rgba(0, 0, 0, 0.5); margin-top: 0; margin-right: 0; margin-bottom: 15px; flex-shrink: 0; border-left-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-top-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; aspect-ratio: 1;"> <ui:VisualElement name="ProfileImage" style="flex-grow: 0; height: 300px; width: 200px; background-image: none; -unity-background-scale-mode: scale-to-fit; margin-left: 0; background-color: rgba(0, 0, 0, 0.5); margin-top: 0; margin-right: 0; margin-bottom: 15px; flex-shrink: 0; border-left-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-top-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; aspect-ratio: 1;">
<ui:VisualElement name="ProfileImage" style="flex-grow: 1; height: auto; width: initial; background-image: url(&quot;project://database/Assets/Art/download_52.jpg?fileID=2800000&amp;guid=e2f7d877c1a40ed4fb2c1e9eff097928&amp;type=3#download_52&quot;); -unity-background-scale-mode: scale-to-fit; margin-left: 0; background-color: rgb(254, 215, 0); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; margin-top: 0; margin-right: 0; margin-bottom: 0; flex-shrink: 0; border-left-color: rgba(255, 255, 255, 0.5); border-right-color: rgba(255, 255, 255, 0.5); border-top-color: rgba(255, 255, 255, 0.5); border-bottom-color: rgba(255, 255, 255, 0.5); border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px; translate: 0% -10px;"> <ui:VisualElement name="ProfileImage" style="flex-grow: 1; height: auto; width: initial; background-image: url(&quot;project://database/Assets/Art/download_52.jpg?fileID=2800000&amp;guid=e2f7d877c1a40ed4fb2c1e9eff097928&amp;type=3#download_52&quot;); -unity-background-scale-mode: scale-to-fit; margin-left: 0; background-color: rgb(254, 215, 0); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; margin-top: 0; margin-right: 0; margin-bottom: 0; flex-shrink: 0; border-left-color: rgba(255, 255, 255, 0.5); border-right-color: rgba(255, 255, 255, 0.5); border-top-color: rgba(255, 255, 255, 0.5); border-bottom-color: rgba(255, 255, 255, 0.5); border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px; translate: 0% -10px;">
<ui:Button text="" name="OpenProfileImagePanel" class="edit-photo" style="width: 80px; height: 80px; display: flex;"> <ui:Button text="" name="OpenProfileImagePanel" class="edit-photo" style="width: 80px; height: 80px; display: flex;">
<ui:Label text="📷" class="emoji" style="font-size: 37px; translate: 0% -4px;"/> <ui:Label text="&#128247;" class="emoji" style="font-size: 37px; translate: 0% -4px;"/>
</ui:Button> </ui:Button>
<Bindings> <Bindings>
<ui:DataBinding property="style.backgroundImage" data-source-path="currentSprite" data-source="project://database/Assets/AppUI/Scripts/ProfileImage.asset?fileID=11400000&amp;guid=5c98d5192a02e9a4ea41b11a83d890ea&amp;type=2#ProfileImage" binding-mode="ToTarget"/> <ui:DataBinding property="style.backgroundImage" data-source-path="currentSprite" data-source="project://database/Assets/AppUI/Scripts/ProfileImage.asset?fileID=11400000&amp;guid=5c98d5192a02e9a4ea41b11a83d890ea&amp;type=2#ProfileImage" binding-mode="ToTarget"/>
</Bindings> </Bindings>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="عبد الرحمن" name="Username" class="text-bold-black" style="color: rgb(255, 255, 255); font-size: 60px;"/> <ui:Label text="&#1593;&#1576;&#1583; &#1575;&#1604;&#1585;&#1581;&#1605;&#1606;" name="Username" class="text-bold-black" style="color: rgb(255, 255, 255); font-size: 60px;"/>
<ui:Label text="email@gmail.com" name="Email" class="text-bold-black" style="color: rgb(190, 190, 190); font-size: 35px; -unity-font-style: normal;"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="Contant" class="padding" style="flex-grow: 1;"> <ui:VisualElement name="Contant" class="padding" style="flex-grow: 1;">
<ui:Label text="المعلومات الشخصية" class="text-bold" style="color: rgb(178, 178, 178); -unity-text-align: middle-right; margin-top: 25px; margin-bottom: 25px;"/> <ui:Label text="&#1575;&#1604;&#1605;&#1593;&#1604;&#1608;&#1605;&#1575;&#1578; &#1575;&#1604;&#1588;&#1582;&#1589;&#1610;&#1577;" class="text-bold" style="color: rgb(178, 178, 178); -unity-text-align: middle-right; margin-top: 25px; margin-bottom: 25px;"/>
<ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex;"> <ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex;">
<ui:VisualElement name="row" style="flex-grow: 1; flex-direction: row-reverse; align-items: center; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0;"> <ui:VisualElement name="row" style="flex-grow: 1; flex-direction: row-reverse; align-items: center; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0;">
<ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(48, 48, 208, 0); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;"> <ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(48, 48, 208, 0); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;">
<ui:Label text="✏️" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/> <ui:Label text="&#9999;&#65039;" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:TextField label="" placeholder-text="" name="Name" hide-placeholder-on-focus="true" value="" class="text-bold" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: auto; flex-grow: 1; -unity-text-align: upper-right; font-size: 40px; color: rgb(0, 0, 0); border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; height: 100%; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px; flex-direction: column-reverse; display: flex;"/> <ui:TextField label="" placeholder-text="" name="Name" hide-placeholder-on-focus="true" value="" class="text-bold" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; width: auto; flex-grow: 1; -unity-text-align: upper-right; font-size: 40px; color: rgb(0, 0, 0); border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; height: 100%; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px; flex-direction: column-reverse; display: flex;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Button text="" name="Button" class="row-btn" style="display: flex;"> <ui:Button text="" name="Button" class="row-btn" style="display: flex;">
<ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(0, 137, 107, 0.15); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;"> <ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(0, 137, 107, 0.15); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;">
<ui:Label text="🎓" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/> <ui:Label text="&#127891;" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="النظام التعليمي" name="" class="text-bold-black" style="color: rgb(66, 66, 66);"/> <ui:Label text="&#1575;&#1604;&#1606;&#1592;&#1575;&#1605; &#1575;&#1604;&#1578;&#1593;&#1604;&#1610;&#1605;&#1610;" name="" class="text-bold-black" style="color: rgb(66, 66, 66);"/>
<ui:DropdownField label="" choices="مصري عربي,مصري لغات" name="Curriculum" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; height: 100%; width: 100%; font-size: 26px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-text-generator: advanced; color: rgb(48, 48, 208); display: flex; opacity: 1;"/> <ui:DropdownField label="" choices="&#1605;&#1589;&#1585;&#1610; &#1593;&#1585;&#1576;&#1610;,&#1605;&#1589;&#1585;&#1610; &#1604;&#1594;&#1575;&#1578;" name="Curriculum" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; height: 100%; width: 100%; font-size: 26px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-text-generator: advanced; color: rgb(48, 48, 208); display: flex; opacity: 1;"/>
</ui:Button> </ui:Button>
<ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/> <ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/>
<ui:Button text="" name="Button" class="row-btn" style="display: flex;"> <ui:Button text="" name="Button" class="row-btn" style="display: flex;">
<ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(0, 137, 107, 0.15); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;"> <ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(0, 137, 107, 0.15); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;">
<ui:Label text="🎓" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/> <ui:Label text="&#127891;" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="المرحلة الدراسية" name="" class="text-bold-black" style="color: rgb(66, 66, 66);"/> <ui:Label text="&#1575;&#1604;&#1605;&#1585;&#1581;&#1604;&#1577; &#1575;&#1604;&#1583;&#1585;&#1575;&#1587;&#1610;&#1577;" name="" class="text-bold-black" style="color: rgb(66, 66, 66);"/>
<ui:DropdownField label="" choices="الصف الأول الإعدادي,الصف الثاني الإعدادي,الصف الثالث الإعدادي,الصف الأول الثانوي,الصف الثاني الثانوي,الصف الثالث الثانوي" name="Grade" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; height: 100%; width: 100%; font-size: 26px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-text-generator: advanced; color: rgb(48, 48, 208); display: flex; opacity: 1;"/> <ui:DropdownField label="" choices="&#1575;&#1604;&#1589;&#1601; &#1575;&#1604;&#1571;&#1608;&#1604; &#1575;&#1604;&#1573;&#1593;&#1583;&#1575;&#1583;&#1610;,&#1575;&#1604;&#1589;&#1601; &#1575;&#1604;&#1579;&#1575;&#1606;&#1610; &#1575;&#1604;&#1573;&#1593;&#1583;&#1575;&#1583;&#1610;,&#1575;&#1604;&#1589;&#1601; &#1575;&#1604;&#1579;&#1575;&#1604;&#1579; &#1575;&#1604;&#1573;&#1593;&#1583;&#1575;&#1583;&#1610;,&#1575;&#1604;&#1589;&#1601; &#1575;&#1604;&#1571;&#1608;&#1604; &#1575;&#1604;&#1579;&#1575;&#1606;&#1608;&#1610;,&#1575;&#1604;&#1589;&#1601; &#1575;&#1604;&#1579;&#1575;&#1606;&#1610; &#1575;&#1604;&#1579;&#1575;&#1606;&#1608;&#1610;,&#1575;&#1604;&#1589;&#1601; &#1575;&#1604;&#1579;&#1575;&#1604;&#1579; &#1575;&#1604;&#1579;&#1575;&#1606;&#1608;&#1610;" name="Grade" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; height: 100%; width: 100%; font-size: 26px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-text-generator: advanced; color: rgb(48, 48, 208); display: flex; opacity: 1;"/>
</ui:Button> </ui:Button>
<ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/> <ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/>
<ui:Button text="" name="" class="row-btn"> <ui:Button text="" name="" class="row-btn">
<ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(0, 137, 107, 0.15); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;"> <ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(0, 137, 107, 0.15); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;">
<ui:Label text="🏫" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/> <ui:Label text="&#127979;" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="الفصل الدراسي" name="" class="text-bold-black" style="color: rgb(66, 66, 66);"/> <ui:Label text="&#1575;&#1604;&#1601;&#1589;&#1604; &#1575;&#1604;&#1583;&#1585;&#1575;&#1587;&#1610;" name="" class="text-bold-black" style="color: rgb(66, 66, 66);"/>
<ui:DropdownField label="" choices="الفصل الدراسي الاول,الفصل الدراسي الثاني" name="TermDrop" index="0" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; height: 100%; width: 100%; font-size: 26px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-text-generator: advanced; color: rgb(48, 48, 208); display: flex; opacity: 1;"/> <ui:DropdownField label="" choices="&#1575;&#1604;&#1601;&#1589;&#1604; &#1575;&#1604;&#1583;&#1585;&#1575;&#1587;&#1610; &#1575;&#1604;&#1575;&#1608;&#1604;,&#1575;&#1604;&#1601;&#1589;&#1604; &#1575;&#1604;&#1583;&#1585;&#1575;&#1587;&#1610; &#1575;&#1604;&#1579;&#1575;&#1606;&#1610;" name="TermDrop" index="0" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; height: 100%; width: 100%; font-size: 26px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-text-generator: advanced; color: rgb(48, 48, 208); display: flex; opacity: 1;"/>
</ui:Button> </ui:Button>
<ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/> <ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/>
<ui:Button text="" name="UpdateProfile" class="action-btn" style="display: flex;"> <ui:Button text="" name="UpdateProfile" class="action-btn" style="display: flex;">
<ui:Label text="حفظ" class="text-bold-black" style="color: rgb(255, 255, 255); font-size: 55px;"/> <ui:Label text="&#1581;&#1601;&#1592;" class="text-bold-black" style="color: rgb(255, 255, 255); font-size: 55px;"/>
</ui:Button> </ui:Button>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="الإعدادات" class="text-bold" style="color: rgb(178, 178, 178); -unity-text-align: middle-right; margin-top: 25px; margin-bottom: 25px;"/> <ui:Label text="&#1575;&#1604;&#1573;&#1593;&#1583;&#1575;&#1583;&#1575;&#1578;" class="text-bold" style="color: rgb(178, 178, 178); -unity-text-align: middle-right; margin-top: 25px; margin-bottom: 25px;"/>
<ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex;"> <ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex;">
<ui:VisualElement name="row" style="flex-grow: 1; flex-direction: row-reverse; align-items: center;"> <ui:VisualElement name="row" style="flex-grow: 1; flex-direction: row-reverse; align-items: center;">
<ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(48, 48, 208, 0.08); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;"> <ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(48, 48, 208, 0.08); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;">
<ui:Label text="🔊" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/> <ui:Label text="&#128266;" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="المؤثرات الصوتية" class="text-bold-black" style="color: rgb(66, 66, 66);"/> <ui:Label text="&#1575;&#1604;&#1605;&#1572;&#1579;&#1585;&#1575;&#1578; &#1575;&#1604;&#1589;&#1608;&#1578;&#1610;&#1577;" class="text-bold-black" style="color: rgb(66, 66, 66);"/>
<CustomSwitch is-on="true" name="SFXSwitch" style="position: absolute; right: auto; left: 0;"/> <CustomSwitch is-on="true" name="SFXSwitch" style="position: absolute; right: auto; left: 0;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/> <ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/>
<ui:VisualElement name="row" style="flex-grow: 1; flex-direction: row-reverse; align-items: center;"> <ui:VisualElement name="row" style="flex-grow: 1; flex-direction: row-reverse; align-items: center;">
<ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(254, 215, 0, 0.15); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;"> <ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(254, 215, 0, 0.15); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;">
<ui:Label text="🎵" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/> <ui:Label text="&#127925;" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="الموسيقي" class="text-bold-black" style="color: rgb(66, 66, 66);"/> <ui:Label text="&#1575;&#1604;&#1605;&#1608;&#1587;&#1610;&#1602;&#1610;" class="text-bold-black" style="color: rgb(66, 66, 66);"/>
<CustomSwitch is-on="true" name="MusicSwitch" style="position: absolute; right: auto; left: 0;"/> <CustomSwitch is-on="true" name="MusicSwitch" style="position: absolute; right: auto; left: 0;"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="حول" name="Label" class="text-bold" style="color: rgb(178, 178, 178); -unity-text-align: middle-right; margin-top: 25px; margin-bottom: 25px;"/> <ui:Label text="&#1581;&#1608;&#1604;" name="Label" class="text-bold" style="color: rgb(178, 178, 178); -unity-text-align: middle-right; margin-top: 25px; margin-bottom: 25px;"/>
<ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex;"> <ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex;">
<ui:VisualElement name="row" style="flex-grow: 1; flex-direction: row-reverse; align-items: center;"> <ui:VisualElement name="row" style="flex-grow: 1; flex-direction: row-reverse; align-items: center;">
<ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(48, 48, 208, 0.08); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;"> <ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(48, 48, 208, 0.08); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;">
<ui:Label text="ℹ️" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/> <ui:Label text="&#8505;&#65039;" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="الأصدار" class="text-bold-black" style="color: rgb(66, 66, 66);"/> <ui:Label text="&#1575;&#1604;&#1571;&#1589;&#1583;&#1575;&#1585;" class="text-bold-black" style="color: rgb(66, 66, 66);"/>
<ui:Label text="v1.0.0" class="text-bold-black" style="color: rgb(66, 66, 66); position: absolute; left: 0;"/> <ui:Label text="v1.0.0" class="text-bold-black" style="color: rgb(66, 66, 66); position: absolute; left: 0;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/> <ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/>
<ui:Button text="" name="PrivacyPolicyButton" class="row-btn"> <ui:Button text="" name="PrivacyPolicyButton" class="row-btn">
<ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(254, 215, 0, 0.15); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;"> <ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(254, 215, 0, 0.15); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;">
<ui:Label text="📃" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/> <ui:Label text="&#128195;" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="سياسة الخصوصية" class="text-bold-black" style="color: rgb(66, 66, 66);"/> <ui:Label text="&#1587;&#1610;&#1575;&#1587;&#1577; &#1575;&#1604;&#1582;&#1589;&#1608;&#1589;&#1610;&#1577;" class="text-bold-black" style="color: rgb(66, 66, 66);"/>
<ui:Label text="&lt;" class="text-bold-black" style="position: absolute; left: 0;"/> <ui:Label text="&lt;" class="text-bold-black" style="position: absolute; left: 0;"/>
</ui:Button> </ui:Button>
<ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/> <ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/>
<ui:Button text="" name="TermsServicesButton" class="row-btn"> <ui:Button text="" name="TermsServicesButton" class="row-btn">
<ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(254, 215, 0, 0.15); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;"> <ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(254, 215, 0, 0.15); align-items: center; justify-content: center; margin-right: 0; margin-left: 30px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px;">
<ui:Label text="📃" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/> <ui:Label text="&#128195;" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="شروط الخدمة" class="text-bold-black" style="color: rgb(66, 66, 66);"/> <ui:Label text="&#1588;&#1585;&#1608;&#1591; &#1575;&#1604;&#1582;&#1583;&#1605;&#1577;" class="text-bold-black" style="color: rgb(66, 66, 66);"/>
<ui:Label text="&lt;" class="text-bold-black" style="position: absolute; left: 0;"/> <ui:Label text="&lt;" class="text-bold-black" style="position: absolute; left: 0;"/>
</ui:Button> </ui:Button>
<ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/> <ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/>
<ui:VisualElement name="Menu"> <ui:VisualElement name="Menu">
<ui:Button text="" name="LogoutButton" class="action-btn" style="background-color: rgb(245, 3, 45);"> <ui:Button text="" name="LogoutButton" class="action-btn" style="background-color: rgb(245, 3, 45);">
<ui:Label text="تسجيل الخروج" class="text-bold-black" style="color: rgb(255, 255, 255); font-size: 55px;"/> <ui:Label text="&#1578;&#1587;&#1580;&#1610;&#1604; &#1575;&#1604;&#1582;&#1585;&#1608;&#1580;" class="text-bold-black" style="color: rgb(255, 255, 255); font-size: 55px;"/>
</ui:Button> </ui:Button>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/> <ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/>
<ui:VisualElement name="Menu"> <ui:VisualElement name="Menu">
<ui:Button text="" name="OpenRemoveAccountPanel" class="action-btn" style="background-color: rgb(245, 3, 45);"> <ui:Button text="" name="OpenRemoveAccountPanel" class="action-btn" style="background-color: rgb(245, 3, 45);">
<ui:Label text="حذف الحساب" class="text-bold-black" style="color: rgb(255, 255, 255); font-size: 55px;"/> <ui:Label text="&#1581;&#1584;&#1601; &#1575;&#1604;&#1581;&#1587;&#1575;&#1576;" class="text-bold-black" style="color: rgb(255, 255, 255); font-size: 55px;"/>
</ui:Button> </ui:Button>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
...@@ -131,13 +132,13 @@ ...@@ -131,13 +132,13 @@
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="Text" style="flex-grow: 0; margin-right: 40px; justify-content: center; align-items: flex-end;"> <ui:VisualElement name="Text" style="flex-grow: 0; margin-right: 40px; justify-content: center; align-items: flex-end;">
<ui:VisualElement name="Welcome" style="flex-grow: 1; flex-direction: row-reverse;"> <ui:VisualElement name="Welcome" style="flex-grow: 1; flex-direction: row-reverse;">
<ui:Label text="مرحبا بعودتك!" name="NameHeader" language-direction="RTL" class="text-light"/> <ui:Label text="&#1605;&#1585;&#1581;&#1576;&#1575; &#1576;&#1593;&#1608;&#1583;&#1578;&#1603;!" name="NameHeader" language-direction="RTL" class="text-light"/>
<ui:Label text="👋" name="NameHeader" language-direction="RTL" class="emoji" style="border-right-width: 9px;"/> <ui:Label text="&#128075;" name="NameHeader" language-direction="RTL" class="emoji" style="border-right-width: 9px;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="عبد الرحمن" name="Username" language-direction="RTL" class="text-bold" style="width: auto; overflow: hidden;"/> <ui:Label text="&#1593;&#1576;&#1583; &#1575;&#1604;&#1585;&#1581;&#1605;&#1606;" name="Username" language-direction="RTL" class="text-bold" style="width: auto; overflow: hidden;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="XP" style="flex-grow: 0; position: absolute; width: auto; height: auto; left: 75px; background-color: rgb(255, 255, 255); padding-top: 29px; padding-right: 29px; padding-bottom: 29px; padding-left: 29px; border-top-left-radius: 60px; border-top-right-radius: 60px; border-bottom-right-radius: 60px; border-bottom-left-radius: 60px; flex-direction: row;"> <ui:VisualElement name="XP" style="flex-grow: 0; position: absolute; width: auto; height: auto; left: 75px; background-color: rgb(255, 255, 255); padding-top: 29px; padding-right: 29px; padding-bottom: 29px; padding-left: 29px; border-top-left-radius: 60px; border-top-right-radius: 60px; border-bottom-right-radius: 60px; border-bottom-left-radius: 60px; flex-direction: row;">
<ui:Label text="🏆" class="emoji" style="background-color: rgb(48, 48, 208); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; height: 60px; width: 60px; font-size: 34px; margin-right: 10px; border-left-color: rgb(66, 66, 66); border-right-color: rgb(66, 66, 66); border-top-color: rgb(66, 66, 66); border-bottom-color: rgb(66, 66, 66); border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px;"/> <ui:Label text="&#127942;" class="emoji" style="background-color: rgb(48, 48, 208); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; height: 60px; width: 60px; font-size: 34px; margin-right: 10px; border-left-color: rgb(66, 66, 66); border-right-color: rgb(66, 66, 66); border-top-color: rgb(66, 66, 66); border-bottom-color: rgb(66, 66, 66); border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px;"/>
<ui:Label text="10,000XP" name="XP" class="text-bold-black"/> <ui:Label text="10,000XP" name="XP" class="text-bold-black"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
...@@ -165,12 +166,12 @@ ...@@ -165,12 +166,12 @@
<ui:VisualElement style="flex-grow: 0; height: 175px; width: 175px; background-color: rgba(255, 255, 255, 0.75); border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; align-items: center; justify-content: center; margin-bottom: 30px;"> <ui:VisualElement style="flex-grow: 0; height: 175px; width: 175px; background-color: rgba(255, 255, 255, 0.75); border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; align-items: center; justify-content: center; margin-bottom: 30px;">
<ui:Label text="" class="emoji" style="font-size: 100px; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_Icon/Icon_ColorIcon_Trophy02_l.png?fileID=2800000&amp;guid=6e6fe5ff96c174b3c9b6627f1db23232&amp;type=3#Icon_ColorIcon_Trophy02_l&quot;); aspect-ratio: 1; height: 120px; -unity-background-scale-mode: scale-to-fit;"/> <ui:Label text="" class="emoji" style="font-size: 100px; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_Icon/Icon_ColorIcon_Trophy02_l.png?fileID=2800000&amp;guid=6e6fe5ff96c174b3c9b6627f1db23232&amp;type=3#Icon_ColorIcon_Trophy02_l&quot;); aspect-ratio: 1; height: 120px; -unity-background-scale-mode: scale-to-fit;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="التحدي" class="text-bold" style="color: rgb(66, 66, 66); -unity-text-align: middle-center; font-size: 65px; margin-bottom: 10px;"/> <ui:Label text="&#1575;&#1604;&#1578;&#1581;&#1583;&#1610;" class="text-bold" style="color: rgb(66, 66, 66); -unity-text-align: middle-center; font-size: 65px; margin-bottom: 10px;"/>
<ui:Label text="تنافس واربح!" language-direction="RTL" class="text-bold" style="color: rgb(66, 66, 66); -unity-text-align: middle-center; font-size: 37px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TS%20Hakwaty%20Light.otf?fileID=12800000&amp;guid=aeb653dff1f4d2f4fad340e3cf210c77&amp;type=3#TS Hakwaty Light&quot;);"/> <ui:Label text="&#1578;&#1606;&#1575;&#1601;&#1587; &#1608;&#1575;&#1585;&#1576;&#1581;!" language-direction="RTL" class="text-bold" style="color: rgb(66, 66, 66); -unity-text-align: middle-center; font-size: 37px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TS%20Hakwaty%20Light.otf?fileID=12800000&amp;guid=aeb653dff1f4d2f4fad340e3cf210c77&amp;type=3#TS Hakwaty Light&quot;);"/>
</ui:VisualElement> </ui:VisualElement>
</ui:Button> </ui:Button>
<ui:VisualElement name="OpenPracticeShadow" style="flex-grow: 0; background-color: rgba(254, 215, 0, 0); position: absolute; width: 47%; height: 100%; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; translate: 0% 0; flex-shrink: 0; display: flex; background-image: url(&quot;project://database/Assets/AppUI/Image/ShadowBlur-box.png?fileID=2800000&amp;guid=63dd9bdc0bc9b7b4c8f93d49bbf2977f&amp;type=3#ShadowBlur-box&quot;); -unity-background-image-tint-color: rgb(46, 207, 172); scale: 1.45 1.45; left: 0;"/> <ui:VisualElement name="OpenPracticeShadow" style="flex-grow: 0; background-color: rgba(254, 215, 0, 0); position: absolute; width: 47%; height: 100%; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; translate: 0% 0; flex-shrink: 0; display: flex; background-image: url(&quot;project://database/Assets/AppUI/Image/ShadowBlur-box.png?fileID=2800000&amp;guid=63dd9bdc0bc9b7b4c8f93d49bbf2977f&amp;type=3#ShadowBlur-box&quot;); -unity-background-image-tint-color: rgb(46, 207, 172); scale: 1.45 1.45; left: 0;"/>
<ui:Button text="&#10;" name="OpenPracticeButton" style="background-color: rgb(0, 137, 107); border-left-color: rgb(0, 102, 80); border-right-color: rgb(0, 102, 80); border-top-color: rgb(0, 102, 80); border-bottom-color: rgb(0, 102, 80); overflow: hidden; height: 500px; flex-shrink: 0;"> <ui:Button text=" " name="OpenPracticeButton" style="background-color: rgb(0, 137, 107); border-left-color: rgb(0, 102, 80); border-right-color: rgb(0, 102, 80); border-top-color: rgb(0, 102, 80); border-bottom-color: rgb(0, 102, 80); overflow: hidden; height: 500px; flex-shrink: 0;">
<ui:VisualElement name="Padding" style="flex-grow: 1; align-items: center; justify-content: center;"> <ui:VisualElement name="Padding" style="flex-grow: 1; align-items: center; justify-content: center;">
<ui:VisualElement name="Cir" style="flex-grow: 0; position: absolute; height: 300px; width: 300px; background-color: rgba(255, 255, 255, 0.25); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; right: -79px; top: -94px; opacity: 0.5;"> <ui:VisualElement name="Cir" style="flex-grow: 0; position: absolute; height: 300px; width: 300px; background-color: rgba(255, 255, 255, 0.25); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; right: -79px; top: -94px; opacity: 0.5;">
<ui:VisualElement name="Cir" style="flex-grow: 0; position: absolute; height: 300px; width: 300px; background-color: rgba(255, 255, 255, 0.25); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; right: -135px; top: 66px;"/> <ui:VisualElement name="Cir" style="flex-grow: 0; position: absolute; height: 300px; width: 300px; background-color: rgba(255, 255, 255, 0.25); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; right: -135px; top: 66px;"/>
...@@ -181,8 +182,8 @@ ...@@ -181,8 +182,8 @@
<ui:VisualElement style="flex-grow: 0; height: 175px; width: 175px; background-color: rgba(255, 255, 255, 0.75); border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; align-items: center; justify-content: center; margin-bottom: 30px;"> <ui:VisualElement style="flex-grow: 0; height: 175px; width: 175px; background-color: rgba(255, 255, 255, 0.75); border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; align-items: center; justify-content: center; margin-bottom: 30px;">
<ui:Label text="" class="emoji" style="font-size: 100px; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_ItemIcon_(OriginalSize)/itemicon_document.png?fileID=2800000&amp;guid=3edc330b65e87415d98454ccac65ee4b&amp;type=3#itemicon_document&quot;); aspect-ratio: 1; height: 120px; -unity-background-scale-mode: scale-to-fit;"/> <ui:Label text="" class="emoji" style="font-size: 100px; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_ItemIcon_(OriginalSize)/itemicon_document.png?fileID=2800000&amp;guid=3edc330b65e87415d98454ccac65ee4b&amp;type=3#itemicon_document&quot;); aspect-ratio: 1; height: 120px; -unity-background-scale-mode: scale-to-fit;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="التدريب" class="text-bold" style="color: rgb(255, 255, 255); -unity-text-align: middle-center; font-size: 65px; margin-bottom: 10px;"/> <ui:Label text="&#1575;&#1604;&#1578;&#1583;&#1585;&#1610;&#1576;" class="text-bold" style="color: rgb(255, 255, 255); -unity-text-align: middle-center; font-size: 65px; margin-bottom: 10px;"/>
<ui:Label text="تعلم بالتدريب" language-direction="RTL" class="text-bold" style="color: rgb(255, 255, 255); -unity-text-align: middle-center; font-size: 37px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TS%20Hakwaty%20Light.otf?fileID=12800000&amp;guid=aeb653dff1f4d2f4fad340e3cf210c77&amp;type=3#TS Hakwaty Light&quot;);"/> <ui:Label text="&#1578;&#1593;&#1604;&#1605; &#1576;&#1575;&#1604;&#1578;&#1583;&#1585;&#1610;&#1576;" language-direction="RTL" class="text-bold" style="color: rgb(255, 255, 255); -unity-text-align: middle-center; font-size: 37px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TS%20Hakwaty%20Light.otf?fileID=12800000&amp;guid=aeb653dff1f4d2f4fad340e3cf210c77&amp;type=3#TS Hakwaty Light&quot;);"/>
</ui:VisualElement> </ui:VisualElement>
</ui:Button> </ui:Button>
</ui:VisualElement> </ui:VisualElement>
...@@ -190,7 +191,7 @@ ...@@ -190,7 +191,7 @@
<ui:VisualElement name="RankShadow" class="padding" style="flex-grow: 0; height: 100%; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: space-between; border-left-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-top-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); position: absolute; width: 100%; translate: 0% 12px; display: flex; background-image: url(&quot;project://database/Assets/AppUI/Image/ShadowBlur-box.png?fileID=2800000&amp;guid=63dd9bdc0bc9b7b4c8f93d49bbf2977f&amp;type=3#ShadowBlur-box&quot;); -unity-background-image-tint-color: rgba(67, 67, 67, 0.5); scale: 1.3 1.2;"/> <ui:VisualElement name="RankShadow" class="padding" style="flex-grow: 0; height: 100%; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: space-between; border-left-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-top-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); position: absolute; width: 100%; translate: 0% 12px; display: flex; background-image: url(&quot;project://database/Assets/AppUI/Image/ShadowBlur-box.png?fileID=2800000&amp;guid=63dd9bdc0bc9b7b4c8f93d49bbf2977f&amp;type=3#ShadowBlur-box&quot;); -unity-background-image-tint-color: rgba(67, 67, 67, 0.5); scale: 1.3 1.2;"/>
<ui:VisualElement name="Rank" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.1); border-right-color: rgba(0, 0, 0, 0.1); border-top-color: rgba(0, 0, 0, 0.1); border-bottom-color: rgba(0, 0, 0, 0.1);"> <ui:VisualElement name="Rank" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.1); border-right-color: rgba(0, 0, 0, 0.1); border-top-color: rgba(0, 0, 0, 0.1); border-bottom-color: rgba(0, 0, 0, 0.1);">
<ui:VisualElement name="Text" style="flex-grow: 0; flex-direction: row; margin-bottom: 20px;"> <ui:VisualElement name="Text" style="flex-grow: 0; flex-direction: row; margin-bottom: 20px;">
<ui:Label text="" name="Emoji" class="emoji" style="font-size: 52px;"/> <ui:Label text="&#9889;" name="Emoji" class="emoji" style="font-size: 52px;"/>
<ui:Label text="Master" name="Rank" class="text-bold-black"/> <ui:Label text="Master" name="Rank" class="text-bold-black"/>
<ui:VisualElement name="XP" style="flex-grow: 1;"> <ui:VisualElement name="XP" style="flex-grow: 1;">
<ui:Label text="800 / 1000XP" name="XPRankEnd" class="text-bold-black" style="color: rgb(27, 27, 154); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TS%20Hakwaty%20Light.otf?fileID=12800000&amp;guid=aeb653dff1f4d2f4fad340e3cf210c77&amp;type=3#TS Hakwaty Light&quot;); -unity-text-align: middle-right;"/> <ui:Label text="800 / 1000XP" name="XPRankEnd" class="text-bold-black" style="color: rgb(27, 27, 154); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TS%20Hakwaty%20Light.otf?fileID=12800000&amp;guid=aeb653dff1f4d2f4fad340e3cf210c77&amp;type=3#TS Hakwaty Light&quot;); -unity-text-align: middle-right;"/>
...@@ -205,11 +206,11 @@ ...@@ -205,11 +206,11 @@
<ui:VisualElement name="Padding" class="padding"> <ui:VisualElement name="Padding" class="padding">
<ui:VisualElement name="GameModes" style="flex-grow: 0; flex-direction: row-reverse; align-items: center; margin-bottom: 0;"> <ui:VisualElement name="GameModes" style="flex-grow: 0; flex-direction: row-reverse; align-items: center; margin-bottom: 0;">
<ui:Button name="ClosePracticeButton" class="button-icon" style="background-color: rgb(238, 238, 238); border-left-color: rgba(255, 255, 255, 0.25); border-right-color: rgba(255, 255, 255, 0.25); border-top-color: rgba(255, 255, 255, 0.25); border-bottom-color: rgba(255, 255, 255, 0.25); border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; border-top-left-radius: 40%; border-top-right-radius: 40%; border-bottom-right-radius: 40%; border-bottom-left-radius: 40%; background-image: url(&quot;project://database/Assets/Art/export/close@3x.png?fileID=2800000&amp;guid=d683a362bf1526f449695bffafe84b91&amp;type=3#close@3x&quot;); width: 100px; height: 100px; -unity-background-image-tint-color: rgb(66, 66, 66); background-size: 80% 80%; align-items: flex-end; align-self: flex-end; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 20px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"/> <ui:Button name="ClosePracticeButton" class="button-icon" style="background-color: rgb(238, 238, 238); border-left-color: rgba(255, 255, 255, 0.25); border-right-color: rgba(255, 255, 255, 0.25); border-top-color: rgba(255, 255, 255, 0.25); border-bottom-color: rgba(255, 255, 255, 0.25); border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; border-top-left-radius: 40%; border-top-right-radius: 40%; border-bottom-right-radius: 40%; border-bottom-left-radius: 40%; background-image: url(&quot;project://database/Assets/Art/export/close@3x.png?fileID=2800000&amp;guid=d683a362bf1526f449695bffafe84b91&amp;type=3#close@3x&quot;); width: 100px; height: 100px; -unity-background-image-tint-color: rgb(66, 66, 66); background-size: 80% 80%; align-items: flex-end; align-self: flex-end; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 20px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;"/>
<ui:Label text="أوضاع اللعب" class="text-bold-black" style="font-size: 42px;"/> <ui:Label text="&#1571;&#1608;&#1590;&#1575;&#1593; &#1575;&#1604;&#1604;&#1593;&#1576;" class="text-bold-black" style="font-size: 42px;"/>
</ui:VisualElement> </ui:VisualElement>
<CustomGameSlot number-of-questions="50" game-rules="عدة عبارات معروضة\n عبارة واحدة فقط صحيحة\n تغلب على المؤقت\n كلما أسرعت = نقاط أكثر\n" scene-name="cs" slot-image="project://database/Assets/Art/export/fact_check@3x.png?fileID=21300000&amp;guid=87281401e3cb4d240b0aab6072f033a0&amp;type=3#fact_check@3x" name="CustomGameSlot" style="visibility: visible; display: flex;"/> <CustomGameSlot number-of-questions="50" game-rules="&#1593;&#1583;&#1577; &#1593;&#1576;&#1575;&#1585;&#1575;&#1578; &#1605;&#1593;&#1585;&#1608;&#1590;&#1577;\n &#1593;&#1576;&#1575;&#1585;&#1577; &#1608;&#1575;&#1581;&#1583;&#1577; &#1601;&#1602;&#1591; &#1589;&#1581;&#1610;&#1581;&#1577;\n &#1578;&#1594;&#1604;&#1576; &#1593;&#1604;&#1609; &#1575;&#1604;&#1605;&#1572;&#1602;&#1578;\n &#1603;&#1604;&#1605;&#1575; &#1571;&#1587;&#1585;&#1593;&#1578; = &#1606;&#1602;&#1575;&#1591; &#1571;&#1603;&#1579;&#1585;\n" scene-name="cs" slot-image="project://database/Assets/Art/export/fact_check@3x.png?fileID=21300000&amp;guid=87281401e3cb4d240b0aab6072f033a0&amp;type=3#fact_check@3x" name="CustomGameSlot" style="visibility: visible; display: flex;"/>
<CustomGameSlot slot-background="rgb(93, 79, 245)" game-name="True Or False" game-description="صحيح أم خطأ؟ القرار لك." slot-image="project://database/Assets/Art/export/thumbs_up_down@3x.png?fileID=21300000&amp;guid=7d8eacbd6726901479ea455b9ba7cd55&amp;type=3#thumbs_up_down@3x" number-of-questions="22" game-rules="عدة عبارات معروضة\n عبارة واحدة فقط صحيحة\n" scene-name="tf" style="display: flex;"/> <CustomGameSlot slot-background="rgb(93, 79, 245)" game-name="True Or False" game-description="&#1589;&#1581;&#1610;&#1581; &#1571;&#1605; &#1582;&#1591;&#1571;&#1567; &#1575;&#1604;&#1602;&#1585;&#1575;&#1585; &#1604;&#1603;." slot-image="project://database/Assets/Art/export/thumbs_up_down@3x.png?fileID=21300000&amp;guid=7d8eacbd6726901479ea455b9ba7cd55&amp;type=3#thumbs_up_down@3x" number-of-questions="22" game-rules="&#1593;&#1583;&#1577; &#1593;&#1576;&#1575;&#1585;&#1575;&#1578; &#1605;&#1593;&#1585;&#1608;&#1590;&#1577;\n &#1593;&#1576;&#1575;&#1585;&#1577; &#1608;&#1575;&#1581;&#1583;&#1577; &#1601;&#1602;&#1591; &#1589;&#1581;&#1610;&#1581;&#1577;\n" scene-name="tf" style="display: flex;"/>
<CustomGameSlot slot-background="rgb(38, 136, 107)" game-name="Multiple Choice" game-description="اختر الإجابة الصحيحة" slot-image="project://database/Assets/Art/export/quiz@3x.png?fileID=21300000&amp;guid=34d3d99ff582f2e4986b4900703fd8cf&amp;type=3#quiz@3x" number-of-questions="17" game-rules="تغلب على المؤقت\n كلما أسرعت = نقاط أكثر\n" scene-name="mcq"/> <CustomGameSlot slot-background="rgb(38, 136, 107)" game-name="Multiple Choice" game-description="&#1575;&#1582;&#1578;&#1585; &#1575;&#1604;&#1573;&#1580;&#1575;&#1576;&#1577; &#1575;&#1604;&#1589;&#1581;&#1610;&#1581;&#1577;" slot-image="project://database/Assets/Art/export/quiz@3x.png?fileID=21300000&amp;guid=34d3d99ff582f2e4986b4900703fd8cf&amp;type=3#quiz@3x" number-of-questions="17" game-rules="&#1578;&#1594;&#1604;&#1576; &#1593;&#1604;&#1609; &#1575;&#1604;&#1605;&#1572;&#1602;&#1578;\n &#1603;&#1604;&#1605;&#1575; &#1571;&#1587;&#1585;&#1593;&#1578; = &#1606;&#1602;&#1575;&#1591; &#1571;&#1603;&#1579;&#1585;\n" scene-name="mcq"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
</ui:ScrollView> </ui:ScrollView>
...@@ -221,34 +222,34 @@ ...@@ -221,34 +222,34 @@
<ui:Image source="project://database/Assets/Art/export/fact_check@3x.png?fileID=2800000&amp;guid=87281401e3cb4d240b0aab6072f033a0&amp;type=3#fact_check@3x" name="GameImage" style="flex-grow: 0; height: 110px; width: 110px;"/> <ui:Image source="project://database/Assets/Art/export/fact_check@3x.png?fileID=2800000&amp;guid=87281401e3cb4d240b0aab6072f033a0&amp;type=3#fact_check@3x" name="GameImage" style="flex-grow: 0; height: 110px; width: 110px;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="Correct Statement" name="GameName" class="base-text-bold text-bold" style="font-size: 60px; margin-top: 30px; color: rgb(66, 66, 66);"/> <ui:Label text="Correct Statement" name="GameName" class="base-text-bold text-bold" style="font-size: 60px; margin-top: 30px; color: rgb(66, 66, 66);"/>
<ui:Label text="اختر العبارة الصحيحة" language-direction="RTL" name="GameDescription" class="base-text-light text-bold-black" style="font-size: 30px; color: rgb(178, 178, 178);"/> <ui:Label text="&#1575;&#1582;&#1578;&#1585; &#1575;&#1604;&#1593;&#1576;&#1575;&#1585;&#1577; &#1575;&#1604;&#1589;&#1581;&#1610;&#1581;&#1577;" language-direction="RTL" name="GameDescription" class="base-text-light text-bold-black" style="font-size: 30px; color: rgb(178, 178, 178);"/>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="RulesText" style="flex-grow: 0; height: auto; background-color: rgb(238, 238, 238); margin-top: 40px; border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px;"> <ui:VisualElement name="RulesText" style="flex-grow: 0; height: auto; background-color: rgb(238, 238, 238); margin-top: 40px; border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px;">
<ui:VisualElement name="Padding" class="padding" style="flex-grow: 1; padding-top: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px;"> <ui:VisualElement name="Padding" class="padding" style="flex-grow: 1; padding-top: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px;">
<ui:VisualElement name="RulesIcon" style="flex-grow: 0; flex-direction: row-reverse; align-items: center; justify-content: flex-start;"> <ui:VisualElement name="RulesIcon" style="flex-grow: 0; flex-direction: row-reverse; align-items: center; justify-content: flex-start;">
<ui:Image source="project://database/Assets/Art/export/menu_book@3x.png?fileID=2800000&amp;guid=fa4613180b0310749834db9520c7840c&amp;type=3#menu_book@3x" tint-color="rgb(117, 117, 117)" name="Image" style="flex-grow: 0; height: 50px; width: 50px; margin-left: 10px;"/> <ui:Image source="project://database/Assets/Art/export/menu_book@3x.png?fileID=2800000&amp;guid=fa4613180b0310749834db9520c7840c&amp;type=3#menu_book@3x" tint-color="rgb(117, 117, 117)" name="Image" style="flex-grow: 0; height: 50px; width: 50px; margin-left: 10px;"/>
<ui:Label text="القواعد" class="text-bold-black" style="font-size: 35px; -unity-text-align: middle-right; color: rgb(178, 178, 178);"/> <ui:Label text="&#1575;&#1604;&#1602;&#1608;&#1575;&#1593;&#1583;" class="text-bold-black" style="font-size: 35px; -unity-text-align: middle-right; color: rgb(178, 178, 178);"/>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="RulesText" style="flex-grow: 1;"> <ui:VisualElement name="RulesText" style="flex-grow: 1;">
<ui:Label text="عدة عبارات معروضة عبارة واحدة فقط صحيحة تغلب على المؤقت كلما أسرعت = نقاط أكثر" enable-rich-text="true" language-direction="RTL" name="Rules" parse-escape-sequences="true" class="text-bold-black" style="font-size: 35px; padding-right: 25px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-paragraph-spacing: 30px; -unity-text-align: middle-right; white-space: pre-wrap;"/> <ui:Label text="&#1593;&#1583;&#1577; &#1593;&#1576;&#1575;&#1585;&#1575;&#1578; &#1605;&#1593;&#1585;&#1608;&#1590;&#1577; &#1593;&#1576;&#1575;&#1585;&#1577; &#1608;&#1575;&#1581;&#1583;&#1577; &#1601;&#1602;&#1591; &#1589;&#1581;&#1610;&#1581;&#1577; &#1578;&#1594;&#1604;&#1576; &#1593;&#1604;&#1609; &#1575;&#1604;&#1605;&#1572;&#1602;&#1578; &#1603;&#1604;&#1605;&#1575; &#1571;&#1587;&#1585;&#1593;&#1578; = &#1606;&#1602;&#1575;&#1591; &#1571;&#1603;&#1579;&#1585;" enable-rich-text="true" language-direction="RTL" name="Rules" parse-escape-sequences="true" class="text-bold-black" style="font-size: 35px; padding-right: 25px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-paragraph-spacing: 30px; -unity-text-align: middle-right; white-space: pre-wrap;"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="GameDetails" style="flex-grow: 0; height: auto; margin-top: 40px; border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; flex-direction: row-reverse; justify-content: space-between;"> <ui:VisualElement name="GameDetails" style="flex-grow: 0; height: auto; margin-top: 40px; border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; flex-direction: row-reverse; justify-content: space-between;">
<ui:VisualElement name="Rules" style="flex-grow: 0; height: 160px; background-color: rgb(238, 238, 238); border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; width: 32%; justify-content: center; align-items: center;"> <ui:VisualElement name="Rules" style="flex-grow: 0; height: 160px; background-color: rgb(238, 238, 238); border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; width: 32%; justify-content: center; align-items: center;">
<ui:Label text="10" name="NumberOfQuestions" class="text-bold-black" style="color: rgb(62, 45, 206); font-size: 40px; -unity-text-align: middle-center;"/> <ui:Label text="10" name="NumberOfQuestions" class="text-bold-black" style="color: rgb(62, 45, 206); font-size: 40px; -unity-text-align: middle-center;"/>
<ui:Label text="الأسئلة" class="text-light" style="color: rgb(158, 158, 158); font-size: 30px; -unity-text-align: middle-center;"/> <ui:Label text="&#1575;&#1604;&#1571;&#1587;&#1574;&#1604;&#1577;" class="text-light" style="color: rgb(158, 158, 158); font-size: 30px; -unity-text-align: middle-center;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="Rules" style="flex-grow: 0; height: 160px; background-color: rgb(238, 238, 238); border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; width: 32%; justify-content: center; align-items: center;"> <ui:VisualElement name="Rules" style="flex-grow: 0; height: 160px; background-color: rgb(238, 238, 238); border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; width: 32%; justify-content: center; align-items: center;">
<ui:Label text="15s" name="QuestionsPerSecond" class="text-bold-black" style="color: rgb(62, 45, 206); font-size: 40px; -unity-text-align: middle-center;"/> <ui:Label text="15s" name="QuestionsPerSecond" class="text-bold-black" style="color: rgb(62, 45, 206); font-size: 40px; -unity-text-align: middle-center;"/>
<ui:Label text="ثانية لكل سؤال" class="text-light" style="color: rgb(158, 158, 158); font-size: 30px; -unity-text-align: middle-center;"/> <ui:Label text="&#1579;&#1575;&#1606;&#1610;&#1577; &#1604;&#1603;&#1604; &#1587;&#1572;&#1575;&#1604;" class="text-light" style="color: rgb(158, 158, 158); font-size: 30px; -unity-text-align: middle-center;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="Rules" style="flex-grow: 0; height: 160px; background-color: rgb(238, 238, 238); border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; width: 32%; justify-content: center; align-items: center;"> <ui:VisualElement name="Rules" style="flex-grow: 0; height: 160px; background-color: rgb(238, 238, 238); border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; width: 32%; justify-content: center; align-items: center;">
<ui:Label text="9/10" name="Rank" class="text-bold-black" style="color: rgb(62, 45, 206); font-size: 40px; -unity-text-align: middle-center;"/> <ui:Label text="9/10" name="Rank" class="text-bold-black" style="color: rgb(62, 45, 206); font-size: 40px; -unity-text-align: middle-center;"/>
<ui:Label text="الأفضل" class="text-light" style="color: rgb(158, 158, 158); font-size: 30px; -unity-text-align: middle-center;"/> <ui:Label text="&#1575;&#1604;&#1571;&#1601;&#1590;&#1604;" class="text-light" style="color: rgb(158, 158, 158); font-size: 30px; -unity-text-align: middle-center;"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:Button text="ابدأ اللعب" language-direction="RTL" icon-image="project://database/Assets/Art/export/1play_arrow@3x.png?fileID=2800000&amp;guid=6d5826bc619229448bdb7e8358848b85&amp;type=3#1play_arrow@3x" name="PlayButton" class="play-game-button"/> <ui:Button text="&#1575;&#1576;&#1583;&#1571; &#1575;&#1604;&#1604;&#1593;&#1576;" language-direction="RTL" icon-image="project://database/Assets/Art/export/1play_arrow@3x.png?fileID=2800000&amp;guid=6d5826bc619229448bdb7e8358848b85&amp;type=3#1play_arrow@3x" name="PlayButton" class="play-game-button"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="GameMenuChallenge" style="flex-grow: 0; width: 100%; height: 100%; background-color: rgb(255, 255, 255); position: absolute; display: none; opacity: 1;"> <ui:VisualElement name="GameMenuChallenge" style="flex-grow: 0; width: 100%; height: 100%; background-color: rgb(255, 255, 255); position: absolute; display: none; opacity: 1;">
...@@ -258,21 +259,21 @@ ...@@ -258,21 +259,21 @@
<ui:VisualElement name="ImageBackground" style="flex-grow: 0; background-image: none; height: 200px; width: 200px; background-color: rgb(245, 3, 45); border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; border-left-color: rgba(255, 255, 255, 0.25); border-right-color: rgba(255, 255, 255, 0.25); border-top-color: rgba(255, 255, 255, 0.25); border-bottom-color: rgba(255, 255, 255, 0.25); border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; align-items: center; justify-content: center;"> <ui:VisualElement name="ImageBackground" style="flex-grow: 0; background-image: none; height: 200px; width: 200px; background-color: rgb(245, 3, 45); border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; border-left-color: rgba(255, 255, 255, 0.25); border-right-color: rgba(255, 255, 255, 0.25); border-top-color: rgba(255, 255, 255, 0.25); border-bottom-color: rgba(255, 255, 255, 0.25); border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; align-items: center; justify-content: center;">
<ui:Image source="project://database/Assets/Art/export/emoji_events@3x.png?fileID=2800000&amp;guid=71ede504623fcb24eaca6ebcf545c812&amp;type=3#emoji_events@3x" name="GameImage" style="flex-grow: 0; height: 110px; width: 110px;"/> <ui:Image source="project://database/Assets/Art/export/emoji_events@3x.png?fileID=2800000&amp;guid=71ede504623fcb24eaca6ebcf545c812&amp;type=3#emoji_events@3x" name="GameImage" style="flex-grow: 0; height: 110px; width: 110px;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="التحديات" name="GameName" class="base-text-bold text-bold" style="font-size: 60px; margin-top: 30px; color: rgb(66, 66, 66);"/> <ui:Label text="&#1575;&#1604;&#1578;&#1581;&#1583;&#1610;&#1575;&#1578;" name="GameName" class="base-text-bold text-bold" style="font-size: 60px; margin-top: 30px; color: rgb(66, 66, 66);"/>
<ui:Label text="العب وتحدي" language-direction="RTL" name="GameDescription" class="base-text-light text-bold-black" style="font-size: 30px; color: rgb(178, 178, 178);"/> <ui:Label text="&#1575;&#1604;&#1593;&#1576; &#1608;&#1578;&#1581;&#1583;&#1610;" language-direction="RTL" name="GameDescription" class="base-text-light text-bold-black" style="font-size: 30px; color: rgb(178, 178, 178);"/>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="RulesText" style="flex-grow: 0; height: auto; background-color: rgb(238, 238, 238); margin-top: 40px; border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px;"> <ui:VisualElement name="RulesText" style="flex-grow: 0; height: auto; background-color: rgb(238, 238, 238); margin-top: 40px; border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px;">
<ui:VisualElement name="Padding" class="padding" style="flex-grow: 1; padding-top: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px;"> <ui:VisualElement name="Padding" class="padding" style="flex-grow: 1; padding-top: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px;">
<ui:VisualElement name="RulesIcon" style="flex-grow: 0; flex-direction: row-reverse; align-items: center; justify-content: flex-start; margin-bottom: 15px;"> <ui:VisualElement name="RulesIcon" style="flex-grow: 0; flex-direction: row-reverse; align-items: center; justify-content: flex-start; margin-bottom: 15px;">
<ui:Image source="project://database/Assets/Art/export/menu_book@3x.png?fileID=2800000&amp;guid=fa4613180b0310749834db9520c7840c&amp;type=3#menu_book@3x" tint-color="rgb(117, 117, 117)" name="Image" style="flex-grow: 0; height: 50px; width: 50px; margin-left: 10px;"/> <ui:Image source="project://database/Assets/Art/export/menu_book@3x.png?fileID=2800000&amp;guid=fa4613180b0310749834db9520c7840c&amp;type=3#menu_book@3x" tint-color="rgb(117, 117, 117)" name="Image" style="flex-grow: 0; height: 50px; width: 50px; margin-left: 10px;"/>
<ui:Label text="القواعد" class="text-bold-black" style="font-size: 35px; -unity-text-align: middle-right; color: rgb(178, 178, 178);"/> <ui:Label text="&#1575;&#1604;&#1602;&#1608;&#1575;&#1593;&#1583;" class="text-bold-black" style="font-size: 35px; -unity-text-align: middle-right; color: rgb(178, 178, 178);"/>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="RulesText" style="flex-grow: 1;"> <ui:VisualElement name="RulesText" style="flex-grow: 1;">
<ui:Label text="سابق الزمن: لكل مهمة وقت محدد؛ السرعة هي مفتاح الفوز.&#10;&#10;عزز رصيدك: كل ثانية توفرها تمنحك نقاطاً إضافية تضاف لنتيجتك.&#10;&#10;انتزع القمة: راكم نقاطك لتفرض سيطرتك وتصل الي الصدارة." enable-rich-text="true" language-direction="RTL" name="Rules" parse-escape-sequences="true" class="text-bold-black" style="font-size: 35px; padding-right: 25px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-paragraph-spacing: 30px; -unity-text-align: middle-right; white-space: pre-wrap;"/> <ui:Label text="&#1587;&#1575;&#1576;&#1602; &#1575;&#1604;&#1586;&#1605;&#1606;: &#1604;&#1603;&#1604; &#1605;&#1607;&#1605;&#1577; &#1608;&#1602;&#1578; &#1605;&#1581;&#1583;&#1583;&#1563; &#1575;&#1604;&#1587;&#1585;&#1593;&#1577; &#1607;&#1610; &#1605;&#1601;&#1578;&#1575;&#1581; &#1575;&#1604;&#1601;&#1608;&#1586;. &#1593;&#1586;&#1586; &#1585;&#1589;&#1610;&#1583;&#1603;: &#1603;&#1604; &#1579;&#1575;&#1606;&#1610;&#1577; &#1578;&#1608;&#1601;&#1585;&#1607;&#1575; &#1578;&#1605;&#1606;&#1581;&#1603; &#1606;&#1602;&#1575;&#1591;&#1575;&#1611; &#1573;&#1590;&#1575;&#1601;&#1610;&#1577; &#1578;&#1590;&#1575;&#1601; &#1604;&#1606;&#1578;&#1610;&#1580;&#1578;&#1603;. &#1575;&#1606;&#1578;&#1586;&#1593; &#1575;&#1604;&#1602;&#1605;&#1577;: &#1585;&#1575;&#1603;&#1605; &#1606;&#1602;&#1575;&#1591;&#1603; &#1604;&#1578;&#1601;&#1585;&#1590; &#1587;&#1610;&#1591;&#1585;&#1578;&#1603; &#1608;&#1578;&#1589;&#1604; &#1575;&#1604;&#1610; &#1575;&#1604;&#1589;&#1583;&#1575;&#1585;&#1577;." enable-rich-text="true" language-direction="RTL" name="Rules" parse-escape-sequences="true" class="text-bold-black" style="font-size: 35px; padding-right: 25px; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-paragraph-spacing: 30px; -unity-text-align: middle-right; white-space: pre-wrap;"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:Button text="ابدأ اللعب" language-direction="RTL" icon-image="project://database/Assets/Art/export/1play_arrow@3x.png?fileID=2800000&amp;guid=6d5826bc619229448bdb7e8358848b85&amp;type=3#1play_arrow@3x" name="Challenge" class="play-game-button"/> <ui:Button text="&#1575;&#1576;&#1583;&#1571; &#1575;&#1604;&#1604;&#1593;&#1576;" language-direction="RTL" icon-image="project://database/Assets/Art/export/1play_arrow@3x.png?fileID=2800000&amp;guid=6d5826bc619229448bdb7e8358848b85&amp;type=3#1play_arrow@3x" name="Challenge" class="play-game-button"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="Cir" style="flex-grow: 0; position: absolute; height: 400px; width: 400px; background-color: rgba(255, 255, 255, 0.02); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; right: auto; top: -309px; left: 40px;"/> <ui:VisualElement name="Cir" style="flex-grow: 0; position: absolute; height: 400px; width: 400px; background-color: rgba(255, 255, 255, 0.02); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; right: auto; top: -309px; left: 40px;"/>
...@@ -281,7 +282,7 @@ ...@@ -281,7 +282,7 @@
<ui:VisualElement name="Header" style="flex-grow: 0; height: 30%; background-color: rgb(48, 48, 208); border-bottom-right-radius: 75px; border-bottom-left-radius: 75px; justify-content: center; margin-top: 0; margin-bottom: 0; padding-top: 75px; padding-bottom: 75px;"> <ui:VisualElement name="Header" style="flex-grow: 0; height: 30%; background-color: rgb(48, 48, 208); border-bottom-right-radius: 75px; border-bottom-left-radius: 75px; justify-content: center; margin-top: 0; margin-bottom: 0; padding-top: 75px; padding-bottom: 75px;">
<ui:VisualElement name="PlayerDetails" style="flex-grow: 0; align-items: center; justify-content: space-around; margin-bottom: 0;"> <ui:VisualElement name="PlayerDetails" style="flex-grow: 0; align-items: center; justify-content: space-around; margin-bottom: 0;">
<ui:Image source="project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Component/Icon_ItemIcons_(x2)/ItemIcons_128/itemicon_crown_1.png?fileID=2800000&amp;guid=a4b84d70bc0154802a1894f695875388&amp;type=3#itemicon_crown_1" style="aspect-ratio: 1; height: 291px;"/> <ui:Image source="project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Component/Icon_ItemIcons_(x2)/ItemIcons_128/itemicon_crown_1.png?fileID=2800000&amp;guid=a4b84d70bc0154802a1894f695875388&amp;type=3#itemicon_crown_1" style="aspect-ratio: 1; height: 291px;"/>
<ui:Label text="لوحة المتصدرين" name="Username" class="text-bold-black" style="color: rgb(255, 255, 255); font-size: 60px;"/> <ui:Label text="&#1604;&#1608;&#1581;&#1577; &#1575;&#1604;&#1605;&#1578;&#1589;&#1583;&#1585;&#1610;&#1606;" name="Username" class="text-bold-black" style="color: rgb(255, 255, 255); font-size: 60px;"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:ScrollView name="Leaderboard" horizontal-scroller-visibility="Hidden" vertical-scroller-visibility="Hidden" style="flex-grow: 1; background-color: rgb(238, 240, 248); border-top-left-radius: 100px; border-top-right-radius: 100px; padding-top: 50px; padding-bottom: 0;"> <ui:ScrollView name="Leaderboard" horizontal-scroller-visibility="Hidden" vertical-scroller-visibility="Hidden" style="flex-grow: 1; background-color: rgb(238, 240, 248); border-top-left-radius: 100px; border-top-right-radius: 100px; padding-top: 50px; padding-bottom: 0;">
...@@ -290,10 +291,10 @@ ...@@ -290,10 +291,10 @@
<ui:VisualElement name="Padding" class="padding" style="flex-grow: 1; padding-bottom: 0; overflow: visible; translate: 0% 0; padding-top: 0;"> <ui:VisualElement name="Padding" class="padding" style="flex-grow: 1; padding-bottom: 0; overflow: visible; translate: 0% 0; padding-top: 0;">
<ui:VisualElement name="FilterRank" style="flex-grow: 0; justify-content: space-around; flex-direction: row-reverse; margin-bottom: 75px; display: none;"> <ui:VisualElement name="FilterRank" style="flex-grow: 0; justify-content: space-around; flex-direction: row-reverse; margin-bottom: 75px; display: none;">
<ui:ToggleButtonGroup label=""> <ui:ToggleButtonGroup label="">
<ui:Button text="الكل" language-direction="RTL" name="All" class="filter-rank-button"/> <ui:Button text="&#1575;&#1604;&#1603;&#1604;" language-direction="RTL" name="All" class="filter-rank-button"/>
<ui:Button text="هاوي" language-direction="RTL" name="Geek" class="filter-rank-button"/> <ui:Button text="&#1607;&#1575;&#1608;&#1610;" language-direction="RTL" name="Geek" class="filter-rank-button"/>
<ui:Button text="محترف" language-direction="RTL" name="Master" class="filter-rank-button"/> <ui:Button text="&#1605;&#1581;&#1578;&#1585;&#1601;" language-direction="RTL" name="Master" class="filter-rank-button"/>
<ui:Button text="أسطوري" language-direction="RTL" name="Master" class="filter-rank-button"/> <ui:Button text="&#1571;&#1587;&#1591;&#1608;&#1585;&#1610;" language-direction="RTL" name="Master" class="filter-rank-button"/>
</ui:ToggleButtonGroup> </ui:ToggleButtonGroup>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="Top" style="flex-grow: 0; flex-direction: row; justify-content: space-evenly; width: 94%; height: 100%; align-self: center;"> <ui:VisualElement name="Top" style="flex-grow: 0; flex-direction: row; justify-content: space-evenly; width: 94%; height: 100%; align-self: center;">
...@@ -306,8 +307,8 @@ ...@@ -306,8 +307,8 @@
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="عبد الرحمن" name="SecondName" class="text-bold-black"/> <ui:Label text="" name="SecondName" class="text-bold-black"/>
<ui:Label text="16,230" name="SecondXp" class="text-light" style="color: rgba(153, 153, 153, 0.7);"/> <ui:Label text="" name="SecondXp" class="text-light" style="color: rgba(153, 153, 153, 0.7);"/>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="2" style="flex-grow: 0; background-color: rgb(48, 48, 211); width: 100%; height: 50%; align-self: flex-end; border-top-left-radius: 50px; border-top-right-radius: 50px; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; opacity: 1;"/> <ui:VisualElement name="2" style="flex-grow: 0; background-color: rgb(48, 48, 211); width: 100%; height: 50%; align-self: flex-end; border-top-left-radius: 50px; border-top-right-radius: 50px; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; opacity: 1;"/>
</ui:VisualElement> </ui:VisualElement>
...@@ -320,8 +321,8 @@ ...@@ -320,8 +321,8 @@
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="عبد الرحمن" name="FirstName" class="text-bold-black"/> <ui:Label text="" name="FirstName" class="text-bold-black"/>
<ui:Label text="16,230" name="FirstXp" class="text-light" style="color: rgba(153, 153, 153, 0.7);"/> <ui:Label text="" name="FirstXp" class="text-light" style="color: rgba(153, 153, 153, 0.7);"/>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="1" style="flex-grow: 0; background-color: rgb(254, 215, 0); width: 100%; height: 60%; align-self: flex-end; border-top-left-radius: 50px; border-top-right-radius: 50px; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; opacity: 1;"/> <ui:VisualElement name="1" style="flex-grow: 0; background-color: rgb(254, 215, 0); width: 100%; height: 60%; align-self: flex-end; border-top-left-radius: 50px; border-top-right-radius: 50px; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; opacity: 1;"/>
</ui:VisualElement> </ui:VisualElement>
...@@ -334,8 +335,8 @@ ...@@ -334,8 +335,8 @@
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:Label text="عبد الرحمن" name="ThirdName" class="text-bold-black"/> <ui:Label text="" name="ThirdName" class="text-bold-black"/>
<ui:Label text="16,230" name="ThirdXp" class="text-light" style="color: rgba(153, 153, 153, 0.7);"/> <ui:Label text="" name="ThirdXp" class="text-light" style="color: rgba(153, 153, 153, 0.7);"/>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="3" style="flex-grow: 0; background-color: rgb(0, 137, 107); width: 100%; height: 40%; align-self: flex-end; border-top-left-radius: 50px; border-top-right-radius: 50px; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; opacity: 1;"/> <ui:VisualElement name="3" style="flex-grow: 0; background-color: rgb(0, 137, 107); width: 100%; height: 40%; align-self: flex-end; border-top-left-radius: 50px; border-top-right-radius: 50px; border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; opacity: 1;"/>
</ui:VisualElement> </ui:VisualElement>
...@@ -365,19 +366,19 @@ ...@@ -365,19 +366,19 @@
<ui:Button name="Button"> <ui:Button name="Button">
<ui:VisualElement style="flex-grow: 1; justify-content: center; align-items: center;"> <ui:VisualElement style="flex-grow: 1; justify-content: center; align-items: center;">
<ui:Label text="" language-direction="RTL" name="Icon" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-text-generator: advanced; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_ItemIcon_(OriginalSize)/itemicon_setting.png?fileID=2800000&amp;guid=19dc92e99f50b4124a6de10a707b3082&amp;type=3#itemicon_setting&quot;); height: 100px; width: 100px; aspect-ratio: 1; -unity-background-scale-mode: scale-to-fit;"/> <ui:Label text="" language-direction="RTL" name="Icon" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-text-generator: advanced; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_ItemIcon_(OriginalSize)/itemicon_setting.png?fileID=2800000&amp;guid=19dc92e99f50b4124a6de10a707b3082&amp;type=3#itemicon_setting&quot;); height: 100px; width: 100px; aspect-ratio: 1; -unity-background-scale-mode: scale-to-fit;"/>
<ui:Label text="الإعدادات " language-direction="RTL" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-text-generator: advanced; color: rgb(128, 128, 128);"/> <ui:Label text="&#1575;&#1604;&#1573;&#1593;&#1583;&#1575;&#1583;&#1575;&#1578; " language-direction="RTL" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-text-generator: advanced; color: rgb(128, 128, 128);"/>
</ui:VisualElement> </ui:VisualElement>
</ui:Button> </ui:Button>
<ui:Button name="Button"> <ui:Button name="Button">
<ui:VisualElement style="flex-grow: 1; justify-content: center; border-top-width: 32px; border-right-width: 32px; border-bottom-width: 32px; border-left-width: 32px; align-items: center;"> <ui:VisualElement style="flex-grow: 1; justify-content: center; border-top-width: 32px; border-right-width: 32px; border-bottom-width: 32px; border-left-width: 32px; align-items: center;">
<ui:Label text="" language-direction="RTL" name="Icon" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-text-generator: advanced; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_ItemIcon_(OriginalSize)/itemicon_home.png?fileID=2800000&amp;guid=10ee5d5e55d1b4296ba901f70537cb11&amp;type=3#itemicon_home&quot;); height: 100px; width: 100px; aspect-ratio: 1; -unity-background-scale-mode: scale-to-fit;"/> <ui:Label text="" language-direction="RTL" name="Icon" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-text-generator: advanced; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_ItemIcon_(OriginalSize)/itemicon_home.png?fileID=2800000&amp;guid=10ee5d5e55d1b4296ba901f70537cb11&amp;type=3#itemicon_home&quot;); height: 100px; width: 100px; aspect-ratio: 1; -unity-background-scale-mode: scale-to-fit;"/>
<ui:Label text="الرئيسية" language-direction="RTL" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-text-generator: advanced; color: rgb(128, 128, 128);"/> <ui:Label text="&#1575;&#1604;&#1585;&#1574;&#1610;&#1587;&#1610;&#1577;" language-direction="RTL" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-text-generator: advanced; color: rgb(128, 128, 128);"/>
</ui:VisualElement> </ui:VisualElement>
</ui:Button> </ui:Button>
<ui:Button name="Button"> <ui:Button name="Button">
<ui:VisualElement style="flex-grow: 1; justify-content: center; align-items: center;"> <ui:VisualElement style="flex-grow: 1; justify-content: center; align-items: center;">
<ui:Label text="" language-direction="RTL" name="Icon" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-text-generator: advanced; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_Icon/IconGroup_MenuIcon02_Ranking.png?fileID=2800000&amp;guid=502113e2dd72c4d7fbc38def4cbc94a2&amp;type=3#IconGroup_MenuIcon02_Ranking&quot;); height: 100px; width: 100px; aspect-ratio: 1; -unity-background-scale-mode: scale-to-fit;"/> <ui:Label text="" language-direction="RTL" name="Icon" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-text-generator: advanced; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_Icon/IconGroup_MenuIcon02_Ranking.png?fileID=2800000&amp;guid=502113e2dd72c4d7fbc38def4cbc94a2&amp;type=3#IconGroup_MenuIcon02_Ranking&quot;); height: 100px; width: 100px; aspect-ratio: 1; -unity-background-scale-mode: scale-to-fit;"/>
<ui:Label text="المتصدرين" language-direction="RTL" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-text-generator: advanced; color: rgb(128, 128, 128);"/> <ui:Label text="&#1575;&#1604;&#1605;&#1578;&#1589;&#1583;&#1585;&#1610;&#1606;" language-direction="RTL" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-DemiBold.otf?fileID=12800000&amp;guid=566b773a07b3d064aa1f4c6ef7b6f6fa&amp;type=3#TSHakwaty-DemiBold&quot;); -unity-text-generator: advanced; color: rgb(128, 128, 128);"/>
</ui:VisualElement> </ui:VisualElement>
</ui:Button> </ui:Button>
</ui:ToggleButtonGroup> </ui:ToggleButtonGroup>
...@@ -385,31 +386,31 @@ ...@@ -385,31 +386,31 @@
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="RemoveAccountPanel" style="flex-grow: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.75); position: absolute; display: none; opacity: 0; align-items: center; justify-content: center;"> <ui:VisualElement name="RemoveAccountPanel" style="flex-grow: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.75); position: absolute; display: none; opacity: 0; align-items: center; justify-content: center;">
<ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex; width: 80%;"> <ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex; width: 80%;">
<ui:Label text="يرجي تأكد حذف الحساب" class="text-bold-black" style="color: rgb(66, 66, 66); align-self: center; font-size: 49px;"/> <ui:Label text="&#1610;&#1585;&#1580;&#1610; &#1578;&#1571;&#1603;&#1583; &#1581;&#1584;&#1601; &#1575;&#1604;&#1581;&#1587;&#1575;&#1576;" class="text-bold-black" style="color: rgb(66, 66, 66); align-self: center; font-size: 49px;"/>
<ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/> <ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/>
<ui:VisualElement name="Buttons" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around;"> <ui:VisualElement name="Buttons" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around;">
<ui:VisualElement name="ButtonRight" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center;"> <ui:VisualElement name="ButtonRight" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center;">
<ui:Button text="تأكيد" name="Sure" language-direction="RTL" class="action-btn" style="background-color: rgb(245, 3, 45); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced;"/> <ui:Button text="&#1578;&#1571;&#1603;&#1610;&#1583;" name="Sure" language-direction="RTL" class="action-btn" style="background-color: rgb(245, 3, 45); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced;"/>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="ButtonRight" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center;"> <ui:VisualElement name="ButtonRight" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center;">
<ui:Button text="الغاء" name="CloseRemoveAccountPanel" language-direction="RTL" class="action-btn" style="background-color: rgb(0, 137, 107); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced;"/> <ui:Button text="&#1575;&#1604;&#1594;&#1575;&#1569;" name="CloseRemoveAccountPanel" language-direction="RTL" class="action-btn" style="background-color: rgb(0, 137, 107); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced;"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="MessagePanel" style="flex-grow: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.75); position: absolute; display: none; opacity: 0; align-items: center; justify-content: center;"> <ui:VisualElement name="MessagePanel" style="flex-grow: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.75); position: absolute; display: none; opacity: 0; align-items: center; justify-content: center;">
<ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex; width: 80%;"> <ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex; width: 80%;">
<ui:Label text="يرجي التسجيل" name="MessageLabel" class="text-bold-black" style="color: rgb(66, 66, 66); align-self: center; font-size: 49px; white-space: pre-wrap; -unity-text-align: middle-center;"/> <ui:Label text="&#1610;&#1585;&#1580;&#1610; &#1575;&#1604;&#1578;&#1587;&#1580;&#1610;&#1604;" name="MessageLabel" class="text-bold-black" style="color: rgb(66, 66, 66); align-self: center; font-size: 49px; white-space: pre-wrap; -unity-text-align: middle-center;"/>
<ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/> <ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/>
<ui:VisualElement style="flex-grow: 1; flex-direction: row-reverse;"> <ui:VisualElement style="flex-grow: 1; flex-direction: row-reverse;">
<ui:VisualElement name="BackToHome" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around; display: none;"> <ui:VisualElement name="BackToHome" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around; display: none;">
<ui:VisualElement name="Parent" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center; display: flex;"> <ui:VisualElement name="Parent" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center; display: flex;">
<ui:Button text="تسجيل" name="BackToHomeButton" language-direction="RTL" class="action-btn" style="background-color: rgb(0, 137, 107); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced; display: flex;"/> <ui:Button text="&#1578;&#1587;&#1580;&#1610;&#1604;" name="BackToHomeButton" language-direction="RTL" class="action-btn" style="background-color: rgb(0, 137, 107); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced; display: flex;"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="Buttons" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around;"> <ui:VisualElement name="Buttons" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around;">
<ui:VisualElement name="Button" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center;"> <ui:VisualElement name="Button" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center;">
<ui:Button text="الغاء" name="CloseMessagePanelButton" language-direction="RTL" class="action-btn" style="background-color: rgb(245, 3, 45); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced;"/> <ui:Button text="&#1578;&#1605;" name="CloseMessagePanelButton" language-direction="RTL" class="action-btn" style="background-color: rgb(245, 3, 45); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced;"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
...@@ -417,7 +418,7 @@ ...@@ -417,7 +418,7 @@
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="ProfileImagePanel" style="flex-grow: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.75); position: absolute; display: none; opacity: 0; align-items: center; justify-content: center;"> <ui:VisualElement name="ProfileImagePanel" style="flex-grow: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.75); position: absolute; display: none; opacity: 0; align-items: center; justify-content: center;">
<ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex; width: 80%;"> <ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex; width: 80%;">
<ui:Label text="يرجي اختيار صورة" name="Label" class="text-bold-black" style="color: rgb(66, 66, 66); align-self: center; font-size: 49px; white-space: pre-wrap; -unity-text-align: middle-center;"/> <ui:Label text="&#1610;&#1585;&#1580;&#1610; &#1575;&#1582;&#1578;&#1610;&#1575;&#1585; &#1589;&#1608;&#1585;&#1577;" name="Label" class="text-bold-black" style="color: rgb(66, 66, 66); align-self: center; font-size: 49px; white-space: pre-wrap; -unity-text-align: middle-center;"/>
<ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/> <ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/>
<ui:ToggleButtonGroup label="" name="Images" allow-empty-selection="true" value="0000" style="overflow: visible; opacity: 1;"> <ui:ToggleButtonGroup label="" name="Images" allow-empty-selection="true" value="0000" style="overflow: visible; opacity: 1;">
<ui:Button text="" style="background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_Character/CardCharacter_l_Sample01.png?fileID=2800000&amp;guid=cae1908ef32d7457e8c9d9e772b22e61&amp;type=3#CardCharacter_l_Sample01&quot;);"/> <ui:Button text="" style="background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_Character/CardCharacter_l_Sample01.png?fileID=2800000&amp;guid=cae1908ef32d7457e8c9d9e772b22e61&amp;type=3#CardCharacter_l_Sample01&quot;);"/>
...@@ -429,12 +430,12 @@ ...@@ -429,12 +430,12 @@
<ui:VisualElement name="Buttons" style="flex-grow: 1; flex-direction: row-reverse;"> <ui:VisualElement name="Buttons" style="flex-grow: 1; flex-direction: row-reverse;">
<ui:VisualElement name="BackToHome" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around; display: flex;"> <ui:VisualElement name="BackToHome" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around; display: flex;">
<ui:VisualElement name="Parent" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center; display: flex;"> <ui:VisualElement name="Parent" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center; display: flex;">
<ui:Button text="تأكيد" name="SureImage" language-direction="RTL" class="action-btn" style="background-color: rgb(0, 137, 107); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced; display: flex;"/> <ui:Button text="&#1578;&#1571;&#1603;&#1610;&#1583;" name="SureImage" language-direction="RTL" class="action-btn" style="background-color: rgb(0, 137, 107); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced; display: flex;"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="Buttons" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around; display: flex;"> <ui:VisualElement name="Buttons" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around; display: flex;">
<ui:VisualElement name="Button" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center;"> <ui:VisualElement name="Button" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center;">
<ui:Button text="الغاء" name="CloseProfileImagePanel" language-direction="RTL" class="action-btn" style="background-color: rgb(245, 3, 45); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced;"/> <ui:Button text="&#1575;&#1604;&#1594;&#1575;&#1569;" name="CloseProfileImagePanel" language-direction="RTL" class="action-btn" style="background-color: rgb(245, 3, 45); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced;"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
...@@ -443,17 +444,17 @@ ...@@ -443,17 +444,17 @@
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="MessagePanel" style="flex-grow: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.75); position: absolute; display: none; opacity: 0; align-items: center; justify-content: center;"> <ui:VisualElement name="MessagePanel" style="flex-grow: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.75); position: absolute; display: none; opacity: 0; align-items: center; justify-content: center;">
<ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex; width: 80%;"> <ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 0; border-right-width: 0; border-bottom-width: 7px; border-left-width: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; justify-content: space-between; border-left-color: rgba(0, 0, 0, 0.25); border-right-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(0, 0, 0, 0.25); border-bottom-color: rgba(0, 0, 0, 0.25); display: flex; width: 80%;">
<ui:Label text="يرجي التسجيل" name="MessageLabel" class="text-bold-black" style="color: rgb(66, 66, 66); align-self: center; font-size: 49px; white-space: pre-wrap; -unity-text-align: middle-center;"/> <ui:Label text="&#1610;&#1585;&#1580;&#1610; &#1575;&#1604;&#1578;&#1587;&#1580;&#1610;&#1604;" name="MessageLabel" class="text-bold-black" style="color: rgb(66, 66, 66); align-self: center; font-size: 49px; white-space: pre-wrap; -unity-text-align: middle-center;"/>
<ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/> <ui:VisualElement name="Line" style="flex-grow: 0; width: 100%; background-color: rgba(0, 0, 0, 0.1); height: 2px; margin-top: 25px; margin-bottom: 25px;"/>
<ui:VisualElement style="flex-grow: 1; flex-direction: row-reverse;"> <ui:VisualElement style="flex-grow: 1; flex-direction: row-reverse;">
<ui:VisualElement name="BackToHome" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around; display: none;"> <ui:VisualElement name="BackToHome" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around; display: none;">
<ui:VisualElement name="Parent" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center; display: flex;"> <ui:VisualElement name="Parent" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center; display: flex;">
<ui:Button text="تسجيل" name="BackToHomeButton" language-direction="RTL" class="action-btn" style="background-color: rgb(0, 137, 107); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced; display: flex;"/> <ui:Button text="&#1578;&#1587;&#1580;&#1610;&#1604;" name="BackToHomeButton" language-direction="RTL" class="action-btn" style="background-color: rgb(0, 137, 107); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced; display: flex;"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
<ui:VisualElement name="Buttons" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around;"> <ui:VisualElement name="Buttons" style="flex-grow: 1; flex-direction: row-reverse; justify-content: space-around;">
<ui:VisualElement name="Button" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center;"> <ui:VisualElement name="Button" style="width: 250px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; justify-content: center;">
<ui:Button text="تم" name="CloseMessagePanelButton" language-direction="RTL" class="action-btn" style="background-color: rgb(245, 3, 45); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced;"/> <ui:Button text="&#1578;&#1605;" name="CloseMessagePanelButton" language-direction="RTL" class="action-btn" style="background-color: rgb(245, 3, 45); color: rgb(255, 255, 255); -unity-font-definition: url(&quot;project://database/Assets/ALArcade/Hakwaty%20Font/TSHakwaty-ExtraBold.otf?fileID=12800000&amp;guid=9edc60294a97d7f4e87aee01d4e4d689&amp;type=3#TSHakwaty-ExtraBold&quot;); font-size: 55px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 140px; -unity-text-generator: advanced;"/>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
</ui:VisualElement> </ui:VisualElement>
......
...@@ -165,7 +165,7 @@ MonoBehaviour: ...@@ -165,7 +165,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: Assembly-CSharp::AppRouter m_EditorClassIdentifier: Assembly-CSharp::AppRouter
splashScreen: {fileID: 90795484556287063} splashScreen: {fileID: 90795484556287063}
noInternetPanel: {fileID: 0} noInternetPanel: {fileID: 1886494302}
transitionSettings: {fileID: 11400000, guid: 91673b50629b1ae4f938d0b25135d085, type: 2} transitionSettings: {fileID: 11400000, guid: 91673b50629b1ae4f938d0b25135d085, type: 2}
simulateNetworkFailure: 0 simulateNetworkFailure: 0
--- !u!1 &787965442 --- !u!1 &787965442
...@@ -180,7 +180,7 @@ GameObject: ...@@ -180,7 +180,7 @@ GameObject:
- component: {fileID: 787965445} - component: {fileID: 787965445}
- component: {fileID: 787965444} - component: {fileID: 787965444}
m_Layer: 0 m_Layer: 0
m_Name: 2 m_Name: Image
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
...@@ -288,6 +288,100 @@ Transform: ...@@ -288,6 +288,100 @@ Transform:
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1096333673
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1096333674}
- component: {fileID: 1096333676}
- component: {fileID: 1096333675}
m_Layer: 5
m_Name: GameObject (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1096333674
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1096333673}
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
m_Children: []
m_Father: {fileID: 1886494299}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 223}
m_SizeDelta: {x: 0, y: 270.6149}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1096333675
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1096333673}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: beaa34cb0e58d624bb3a264b28600785, type: 3}
m_Name:
m_EditorClassIdentifier: LightSide.UniText::LightSide.UniText
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
text: "\u062C\u0627\u0631\u064A \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631..."
fontStack: {fileID: 11400000, guid: 0029e5efb4c7a12f1ac9136de794e6dc, type: 2}
appearance: {fileID: 11400000, guid: 3a559cf5d653f05ea807e1be5655df92, type: 2}
fontSize: 36
baseDirection: 2
wordWrap: 1
horizontalAlignment: 1
verticalAlignment: 1
overEdge: 0
underEdge: 0
leadingDistribution: 0
autoSize: 1
minFontSize: 10
maxFontSize: 72
modRegisters:
items: []
modRegisterConfigs:
items: []
highlighter:
rid: 5227943948359565417
references:
version: 2
RefIds:
- rid: 5227943948359565417
type: {class: DefaultTextHighlighter, ns: LightSide, asm: LightSide.UniText}
data:
clickColor: {r: 0.2, g: 0.5, b: 1, a: 0.6}
fadeDuration: 0.25
hoverColor: {r: 0.2, g: 0.5, b: 1, a: 0.1}
--- !u!222 &1096333676
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1096333673}
m_CullTransparentMesh: 1
--- !u!1 &1239670919 --- !u!1 &1239670919
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -416,6 +510,190 @@ MonoBehaviour: ...@@ -416,6 +510,190 @@ MonoBehaviour:
m_VarianceClampScale: 0.9 m_VarianceClampScale: 0.9
m_ContrastAdaptiveSharpening: 0 m_ContrastAdaptiveSharpening: 0
m_Version: 2 m_Version: 2
--- !u!1 &1886494298
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1886494299}
- component: {fileID: 1886494301}
- component: {fileID: 1886494300}
- component: {fileID: 1886494302}
m_Layer: 5
m_Name: No Internet
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &1886494299
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1886494298}
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
m_Children:
- {fileID: 1980341443}
- {fileID: 1096333674}
m_Father: {fileID: 3875778254585832864}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -0.00012207031}
m_SizeDelta: {x: -260.2645, y: -1743.9728}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1886494300
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1886494298}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
m_Material: {fileID: 0}
m_Color: {r: 0.99607843, g: 0.84313726, b: 0, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: b94ad4425888548039a8c69d289a39d6, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1886494301
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1886494298}
m_CullTransparentMesh: 1
--- !u!225 &1886494302
CanvasGroup:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1886494298}
m_Enabled: 1
m_Alpha: 1
m_Interactable: 1
m_BlocksRaycasts: 1
m_IgnoreParentGroups: 0
--- !u!1 &1980341442
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1980341443}
- component: {fileID: 1980341445}
- component: {fileID: 1980341444}
m_Layer: 5
m_Name: GameObject
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1980341443
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1980341442}
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
m_Children: []
m_Father: {fileID: 1886494299}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -224}
m_SizeDelta: {x: 0, y: 270.6149}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1980341444
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1980341442}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: beaa34cb0e58d624bb3a264b28600785, type: 3}
m_Name:
m_EditorClassIdentifier: LightSide.UniText::LightSide.UniText
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
text: "\u0644\u0627 \u064A\u0648\u062C\u062F \u0627\u062A\u0635\u0627\u0644 \u0628\u0627\u0644\u0627\u0646\u062A\u0631\u0646\u062A"
fontStack: {fileID: 11400000, guid: 657d8db1dabff4325ae70686887b629b, type: 2}
appearance: {fileID: 11400000, guid: 3a559cf5d653f05ea807e1be5655df92, type: 2}
fontSize: 36
baseDirection: 2
wordWrap: 1
horizontalAlignment: 1
verticalAlignment: 1
overEdge: 0
underEdge: 0
leadingDistribution: 0
autoSize: 1
minFontSize: 10
maxFontSize: 72
modRegisters:
items: []
modRegisterConfigs:
items: []
highlighter:
rid: 5227943948359565417
references:
version: 2
RefIds:
- rid: 5227943948359565417
type: {class: DefaultTextHighlighter, ns: LightSide, asm: LightSide.UniText}
data:
clickColor: {r: 0.2, g: 0.5, b: 1, a: 0.6}
fadeDuration: 0.25
hoverColor: {r: 0.2, g: 0.5, b: 1, a: 0.1}
--- !u!222 &1980341445
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1980341442}
m_CullTransparentMesh: 1
--- !u!1 &90795484556287063 --- !u!1 &90795484556287063
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -443,14 +721,6 @@ CanvasRenderer: ...@@ -443,14 +721,6 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5174508683906604021} m_GameObject: {fileID: 5174508683906604021}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!222 &2246436629498798586
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6035404071447629516}
m_CullTransparentMesh: 1
--- !u!224 &3875778254585832864 --- !u!224 &3875778254585832864
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -465,6 +735,7 @@ RectTransform: ...@@ -465,6 +735,7 @@ RectTransform:
m_Children: m_Children:
- {fileID: 4601489637093293263} - {fileID: 4601489637093293263}
- {fileID: 787965443} - {fileID: 787965443}
- {fileID: 1886494299}
m_Father: {fileID: 284121876} m_Father: {fileID: 284121876}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
...@@ -483,8 +754,7 @@ RectTransform: ...@@ -483,8 +754,7 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children: []
- {fileID: 4986786963889757496}
m_Father: {fileID: 3875778254585832864} m_Father: {fileID: 3875778254585832864}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
...@@ -492,25 +762,6 @@ RectTransform: ...@@ -492,25 +762,6 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &4986786963889757496
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6035404071447629516}
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
m_Children: []
m_Father: {fileID: 4601489637093293263}
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: 0}
m_SizeDelta: {x: 0, y: 340.6299}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &5174508683906604021 --- !u!1 &5174508683906604021
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -529,24 +780,6 @@ GameObject: ...@@ -529,24 +780,6 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!1 &6035404071447629516
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4986786963889757496}
- component: {fileID: 2246436629498798586}
- component: {fileID: 8285131692442318545}
m_Layer: 5
m_Name: Loading
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!114 &6979911012296834176 --- !u!114 &6979911012296834176
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -570,55 +803,6 @@ MonoBehaviour: ...@@ -570,55 +803,6 @@ MonoBehaviour:
m_DefaultSpriteDPI: 96 m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1 m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 0 m_PresetInfoIsWorld: 0
--- !u!114 &8285131692442318545
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6035404071447629516}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: beaa34cb0e58d624bb3a264b28600785, type: 3}
m_Name:
m_EditorClassIdentifier: LightSide.UniText::LightSide.UniText
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
text: "\u062C\u0627\u0631\u064A \u0627\u0644\u062A\u062D\u0645\u064A\u0644..."
fontStack: {fileID: 11400000, guid: 657d8db1dabff4325ae70686887b629b, type: 2}
appearance: {fileID: 11400000, guid: 3a559cf5d653f05ea807e1be5655df92, type: 2}
fontSize: 75
baseDirection: 2
wordWrap: 1
horizontalAlignment: 1
verticalAlignment: 1
overEdge: 0
underEdge: 0
leadingDistribution: 0
autoSize: 0
minFontSize: 10
maxFontSize: 72
modRegisters:
items: []
modRegisterConfigs:
items: []
highlighter:
rid: 4850213164592922705
references:
version: 2
RefIds:
- rid: 4850213164592922705
type: {class: DefaultTextHighlighter, ns: LightSide, asm: LightSide.UniText}
data:
clickColor: {r: 0.2, g: 0.5, b: 1, a: 0.6}
fadeDuration: 0.25
hoverColor: {r: 0.2, g: 0.5, b: 1, a: 0.1}
--- !u!223 &8403144883015818644 --- !u!223 &8403144883015818644
Canvas: Canvas:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
......
...@@ -180,7 +180,7 @@ public class LoginPageAnimation : MonoBehaviour ...@@ -180,7 +180,7 @@ public class LoginPageAnimation : MonoBehaviour
if (PlayerPrefs.GetInt("IsGuest") == 0) if (PlayerPrefs.GetInt("IsGuest") == 0)
{ {
var Username = registerRoot.Q<TextField>("Username").text; var Username = registerRoot.Q<TextField>("Username").text;
if (ShowErrorIfEmpty(Username, "اسم المستخدم")) if (ShowErrorIfTrue(() => string.IsNullOrEmpty(Username), "يرجي أدخال اسم المستخدم"))
{ {
registerButton.SetEnabled(true); registerButton.SetEnabled(true);
registerButton.text = "تسجيل"; registerButton.text = "تسجيل";
...@@ -188,7 +188,7 @@ public class LoginPageAnimation : MonoBehaviour ...@@ -188,7 +188,7 @@ public class LoginPageAnimation : MonoBehaviour
} }
var email = registerRoot.Q<TextField>("Email").text; var email = registerRoot.Q<TextField>("Email").text;
if (ShowErrorIfEmpty(email, "البريد الألكتروني")) if (ShowErrorIfTrue(() => string.IsNullOrEmpty(email), "يرجي أدخال البريد الألكتروني"))
{ {
registerButton.SetEnabled(true); registerButton.SetEnabled(true);
registerButton.text = "تسجيل"; registerButton.text = "تسجيل";
...@@ -196,7 +196,7 @@ public class LoginPageAnimation : MonoBehaviour ...@@ -196,7 +196,7 @@ public class LoginPageAnimation : MonoBehaviour
} }
var password = registerRoot.Q<TextField>("Password").text; var password = registerRoot.Q<TextField>("Password").text;
if (ShowErrorIfEmpty(password, "كلمة المرور")) if (ShowErrorIfTrue(() => string.IsNullOrEmpty(password), "يرجي أدخال كلمة المرور"))
{ {
registerButton.SetEnabled(true); registerButton.SetEnabled(true);
registerButton.text = "تسجيل"; registerButton.text = "تسجيل";
...@@ -204,45 +204,49 @@ public class LoginPageAnimation : MonoBehaviour ...@@ -204,45 +204,49 @@ public class LoginPageAnimation : MonoBehaviour
} }
var rePassword = registerRoot.Q<TextField>("RePassword").text; var rePassword = registerRoot.Q<TextField>("RePassword").text;
if (ShowErrorIfEmpty(rePassword, "تأكيد كلمة المرور")) if (ShowErrorIfTrue(() => string.IsNullOrEmpty(rePassword), "يرجي أدخال تأكيد كلمة المرور"))
{ {
registerButton.SetEnabled(true); registerButton.SetEnabled(true);
registerButton.text = "تسجيل"; registerButton.text = "تسجيل";
return; return;
} }
if(password != rePassword) if (password != rePassword)
{ {
ShowUIMessage.Instance.ShowMessage("كلمة المرور غير متطابقة"); ShowUIMessage.Instance.ShowMessage("كلمة المرور غير متطابقة");
return; return;
} }
var sex = registerRoot.Q<DropdownField>("Sex").value; var sexDropdownField = registerRoot.Q<DropdownField>("Sex");
if (ShowErrorIfEmpty(sex, "النوع")) var sex = sexDropdownField.value;
if (ShowErrorIfTrue(() => sexDropdownField.index == 0, "يرجي أدخال النوع"))
{ {
registerButton.SetEnabled(true); registerButton.SetEnabled(true);
registerButton.text = "تسجيل"; registerButton.text = "تسجيل";
return; return;
} }
var curriculum = registerRoot.Q<DropdownField>("Curriculum").value; var currDropdownField = registerRoot.Q<DropdownField>("Curriculum");
if (ShowErrorIfEmpty(curriculum, "المنهج")) var curriculum = currDropdownField.value;
if (ShowErrorIfTrue(() => currDropdownField.index == 0, "يرجي أدخال المنهج"))
{ {
registerButton.SetEnabled(true); registerButton.SetEnabled(true);
registerButton.text = "تسجيل"; registerButton.text = "تسجيل";
return; return;
} }
var term = registerRoot.Q<DropdownField>("Term").value; var termDropdownField = registerRoot.Q<DropdownField>("Term");
if (ShowErrorIfEmpty(term, "المرحلة")) var term = termDropdownField.value;
if (ShowErrorIfTrue(() => termDropdownField.index == 0, "يرجي أدخال المرحلة"))
{ {
registerButton.SetEnabled(true); registerButton.SetEnabled(true);
registerButton.text = "تسجيل"; registerButton.text = "تسجيل";
return; return;
} }
var grade = registerRoot.Q<DropdownField>("Grade").value; var gradeDropdownField = registerRoot.Q<DropdownField>("Grade");
if (ShowErrorIfEmpty(grade, "الصف")) var grade = gradeDropdownField.value;
if (ShowErrorIfTrue(() => gradeDropdownField.index == 0, "يرجي أدخال الصف"))
{ {
registerButton.SetEnabled(true); registerButton.SetEnabled(true);
registerButton.text = "تسجيل"; registerButton.text = "تسجيل";
...@@ -326,7 +330,7 @@ public class LoginPageAnimation : MonoBehaviour ...@@ -326,7 +330,7 @@ public class LoginPageAnimation : MonoBehaviour
{ {
var Username = registerRoot.Q<TextField>("Username").text; var Username = registerRoot.Q<TextField>("Username").text;
if (ShowErrorIfEmpty(Username, "اسم المستخدم")) if (ShowErrorIfTrue(() => string.IsNullOrEmpty(Username), "يرجي أدخال اسم المستخدم"))
{ {
registerButton.SetEnabled(true); registerButton.SetEnabled(true);
registerButton.text = "تسجيل"; registerButton.text = "تسجيل";
...@@ -334,7 +338,7 @@ public class LoginPageAnimation : MonoBehaviour ...@@ -334,7 +338,7 @@ public class LoginPageAnimation : MonoBehaviour
} }
var sex = registerRoot.Q<DropdownField>("Sex").value; var sex = registerRoot.Q<DropdownField>("Sex").value;
if (ShowErrorIfEmpty(sex, "النوع")) if (ShowErrorIfTrue(() => string.IsNullOrEmpty(sex), "يرجي أدخال النوع"))
{ {
registerButton.SetEnabled(true); registerButton.SetEnabled(true);
registerButton.text = "تسجيل"; registerButton.text = "تسجيل";
...@@ -342,7 +346,7 @@ public class LoginPageAnimation : MonoBehaviour ...@@ -342,7 +346,7 @@ public class LoginPageAnimation : MonoBehaviour
} }
var curriculum = registerRoot.Q<DropdownField>("Curriculum").value; var curriculum = registerRoot.Q<DropdownField>("Curriculum").value;
if (ShowErrorIfEmpty(curriculum, "المنهج")) if (ShowErrorIfTrue(() => string.IsNullOrEmpty(curriculum), "يرجي أدخال المنهج"))
{ {
registerButton.SetEnabled(true); registerButton.SetEnabled(true);
registerButton.text = "تسجيل"; registerButton.text = "تسجيل";
...@@ -350,7 +354,7 @@ public class LoginPageAnimation : MonoBehaviour ...@@ -350,7 +354,7 @@ public class LoginPageAnimation : MonoBehaviour
} }
var term = registerRoot.Q<DropdownField>("Term").value; var term = registerRoot.Q<DropdownField>("Term").value;
if (ShowErrorIfEmpty(term, "المرحلة")) if (ShowErrorIfTrue(() => string.IsNullOrEmpty(term), "يرجي أدخال المرحلة"))
{ {
registerButton.SetEnabled(true); registerButton.SetEnabled(true);
registerButton.text = "تسجيل"; registerButton.text = "تسجيل";
...@@ -358,7 +362,7 @@ public class LoginPageAnimation : MonoBehaviour ...@@ -358,7 +362,7 @@ public class LoginPageAnimation : MonoBehaviour
} }
var grade = registerRoot.Q<DropdownField>("Grade").value; var grade = registerRoot.Q<DropdownField>("Grade").value;
if (ShowErrorIfEmpty(grade, "الصف")) if (ShowErrorIfTrue(() => string.IsNullOrEmpty(grade), "يرجي أدخال الصف"))
{ {
registerButton.SetEnabled(true); registerButton.SetEnabled(true);
registerButton.text = "تسجيل"; registerButton.text = "تسجيل";
...@@ -410,14 +414,14 @@ public class LoginPageAnimation : MonoBehaviour ...@@ -410,14 +414,14 @@ public class LoginPageAnimation : MonoBehaviour
} }
private bool ShowErrorIfEmpty(string content, string fieldName) private bool ShowErrorIfTrue(Func<bool> condition, string errorMessage)
{ {
if (string.IsNullOrEmpty(content)) if (condition())
{ {
ShowUIMessage.Instance.ShowMessage($"يرجي أدخال {fieldName}"); ShowUIMessage.Instance.ShowMessage(errorMessage);
} }
return string.IsNullOrEmpty(content); return condition();
} }
private void HandleForgetPasswordPanel() private void HandleForgetPasswordPanel()
...@@ -506,7 +510,7 @@ public class LoginPageAnimation : MonoBehaviour ...@@ -506,7 +510,7 @@ public class LoginPageAnimation : MonoBehaviour
return; return;
} }
if(newPasswordField.text.Length < 6) if (newPasswordField.text.Length < 6)
{ {
ShowUIMessage.Instance.ShowMessage("كلمة المرور يجب أن تكون 6 أحرف على الأقل"); ShowUIMessage.Instance.ShowMessage("كلمة المرور يجب أن تكون 6 أحرف على الأقل");
return; return;
......
using System; using System.Collections.Generic;
using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.SceneManagement; using UnityEngine.SceneManagement;
using UnityEngine.UIElements; using UnityEngine.UIElements;
...@@ -238,6 +237,13 @@ public class MainmenuAnimation : MonoBehaviour ...@@ -238,6 +237,13 @@ public class MainmenuAnimation : MonoBehaviour
openChallengePanel.clicked += () => openChallengePanel.clicked += () =>
{ {
// Don't allow anonymous users to access the challenge panel
if (SupabaseManager.Instance.Supabase().Auth.CurrentUser.IsAnonymous)
{
return;
}
challengePanel.style.display = DisplayStyle.Flex; challengePanel.style.display = DisplayStyle.Flex;
challengePanel.experimental.animation.Start(0, 1, 200, (v, t) => challengePanel.experimental.animation.Start(0, 1, 200, (v, t) =>
{ {
......
...@@ -261,13 +261,13 @@ MonoBehaviour: ...@@ -261,13 +261,13 @@ MonoBehaviour:
_feedbackBg: {fileID: 6230069461127900939} _feedbackBg: {fileID: 6230069461127900939}
_timerFill: {fileID: 8270471139914111552} _timerFill: {fileID: 8270471139914111552}
_loadingText: {fileID: 1751919878724748659} _loadingText: {fileID: 1751919878724748659}
_errorText: {fileID: 4122106323195278334}
_resultTitle: {fileID: 8550221328754262388} _resultTitle: {fileID: 8550221328754262388}
_resultScore: {fileID: 6936749377702287481} _resultScore: {fileID: 6936749377702287481}
_resultStats: {fileID: 7171110102599213074} _resultStats: {fileID: 7171110102599213074}
_countDownText: {fileID: 3204408586701157358} _countDownText: {fileID: 3204408586701157358}
_timerText: {fileID: 2314289485684795983} _timerText: {fileID: 2314289485684795983}
_timerUpdateText: {fileID: 8731479965789433114} _timerUpdateText: {fileID: 8731479965789433114}
_errorText: {fileID: 2178552260234958699}
_optionsContainer: {fileID: 5542623615299663718} _optionsContainer: {fileID: 5542623615299663718}
_restartButton: {fileID: 79392514635604134} _restartButton: {fileID: 79392514635604134}
_returnToHomeButton: {fileID: 2926549481658228636} _returnToHomeButton: {fileID: 2926549481658228636}
...@@ -1151,7 +1151,7 @@ GameObject: ...@@ -1151,7 +1151,7 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 8472510025336300182} - component: {fileID: 8472510025336300182}
- component: {fileID: 2626825708328038760} - component: {fileID: 2626825708328038760}
- component: {fileID: 4122106323195278334} - component: {fileID: 2178552260234958699}
m_Layer: 0 m_Layer: 0
m_Name: Txt m_Name: Txt
m_TagString: Untagged m_TagString: Untagged
...@@ -1186,7 +1186,7 @@ CanvasRenderer: ...@@ -1186,7 +1186,7 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2729787420965937121} m_GameObject: {fileID: 2729787420965937121}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!114 &4122106323195278334 --- !u!114 &2178552260234958699
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
...@@ -1195,9 +1195,9 @@ MonoBehaviour: ...@@ -1195,9 +1195,9 @@ MonoBehaviour:
m_GameObject: {fileID: 2729787420965937121} m_GameObject: {fileID: 2729787420965937121}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0e20cc1eab1d04e7c9515c000ca5ba22, type: 3} m_Script: {fileID: 11500000, guid: beaa34cb0e58d624bb3a264b28600785, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: Assembly-CSharp::ALArcade.ArabicTMP.ArabicTextMeshProUGUI m_EditorClassIdentifier: LightSide.UniText::LightSide.UniText
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
...@@ -1206,83 +1206,35 @@ MonoBehaviour: ...@@ -1206,83 +1206,35 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_text: "\uFEA7\uFEC4\uFE84" text:
m_isRightToLeft: 1 fontStack: {fileID: 0}
m_fontAsset: {fileID: 11400000, guid: 8b4edeefed0fc9f60b1084045988b4cb, type: 2} appearance: {fileID: 0}
m_sharedMaterial: {fileID: 2623560040057873289, guid: 8b4edeefed0fc9f60b1084045988b4cb, type: 2} fontSize: 36
m_fontSharedMaterials: [] baseDirection: 2
m_fontMaterial: {fileID: 0} wordWrap: 1
m_fontMaterials: [] horizontalAlignment: 1
m_fontColor32: verticalAlignment: 1
serializedVersion: 2 overEdge: 0
rgba: 4294967295 underEdge: 0
m_fontColor: {r: 1, g: 1, b: 1, a: 1} leadingDistribution: 0
m_enableVertexGradient: 0 autoSize: 0
m_colorMode: 3 minFontSize: 10
m_fontColorGradient: maxFontSize: 72
topLeft: {r: 1, g: 1, b: 1, a: 1} modRegisters:
topRight: {r: 1, g: 1, b: 1, a: 1} items: []
bottomLeft: {r: 1, g: 1, b: 1, a: 1} modRegisterConfigs:
bottomRight: {r: 1, g: 1, b: 1, a: 1} items: []
m_fontColorGradientPreset: {fileID: 0} highlighter:
m_spriteAsset: {fileID: 0} rid: 5227943948359565493
m_tintAllSprites: 0 references:
m_StyleSheet: {fileID: 0} version: 2
m_TextStyleHashCode: -1183493901 RefIds:
m_overrideHtmlColors: 0 - rid: 5227943948359565493
m_faceColor: type: {class: DefaultTextHighlighter, ns: LightSide, asm: LightSide.UniText}
serializedVersion: 2 data:
rgba: 4294967295 clickColor: {r: 0.2, g: 0.5, b: 1, a: 0.6}
m_fontSize: 24 fadeDuration: 0.25
m_fontSizeBase: 24 hoverColor: {r: 0.2, g: 0.5, b: 1, a: 0.1}
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_characterHorizontalScale: 1
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_TextWrappingMode: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 0
m_ActiveFontFeatures: 6e72656b
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_EmojiFallbackSupport: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
m_ArabicText: "\u062E\u0637\u0623"
m_ShowTashkeel: 1
m_PreserveNumbers: 1
m_FixTags: 1
m_ForceRTL: 1
--- !u!1 &2745728593025828598 --- !u!1 &2745728593025828598
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -1410,10 +1362,10 @@ RectTransform: ...@@ -1410,10 +1362,10 @@ RectTransform:
m_Children: [] m_Children: []
m_Father: {fileID: 1868296225662172060} m_Father: {fileID: 1868296225662172060}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 22.572838, y: 0} m_AnchoredPosition: {x: 22.572838, y: -25.96685}
m_SizeDelta: {x: 51.9337, y: 0} m_SizeDelta: {x: 0, y: 51.9337}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5599785267463442964 --- !u!222 &5599785267463442964
CanvasRenderer: CanvasRenderer:
...@@ -1852,10 +1804,10 @@ RectTransform: ...@@ -1852,10 +1804,10 @@ RectTransform:
m_Children: [] m_Children: []
m_Father: {fileID: 1868296225662172060} m_Father: {fileID: 1868296225662172060}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 267.15555, y: 0} m_AnchoredPosition: {x: 267.15555, y: -25.96685}
m_SizeDelta: {x: 51.9337, y: 0} m_SizeDelta: {x: 0, y: 51.9337}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5340325998096306428 --- !u!222 &5340325998096306428
CanvasRenderer: CanvasRenderer:
...@@ -2871,10 +2823,10 @@ RectTransform: ...@@ -2871,10 +2823,10 @@ RectTransform:
m_Children: [] m_Children: []
m_Father: {fileID: 1868296225662172060} m_Father: {fileID: 1868296225662172060}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 206.00986, y: 0} m_AnchoredPosition: {x: 206.00986, y: -25.96685}
m_SizeDelta: {x: 51.9337, y: 0} m_SizeDelta: {x: 0, y: 51.9337}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4280031676036218401 --- !u!222 &4280031676036218401
CanvasRenderer: CanvasRenderer:
...@@ -3232,10 +3184,10 @@ RectTransform: ...@@ -3232,10 +3184,10 @@ RectTransform:
m_Children: [] m_Children: []
m_Father: {fileID: 1868296225662172060} m_Father: {fileID: 1868296225662172060}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 144.8642, y: 0} m_AnchoredPosition: {x: 144.8642, y: -25.96685}
m_SizeDelta: {x: 51.9337, y: 0} m_SizeDelta: {x: 0, y: 51.9337}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3352223824432655738 --- !u!222 &3352223824432655738
CanvasRenderer: CanvasRenderer:
...@@ -3509,10 +3461,10 @@ RectTransform: ...@@ -3509,10 +3461,10 @@ RectTransform:
m_Children: [] m_Children: []
m_Father: {fileID: 1868296225662172060} m_Father: {fileID: 1868296225662172060}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 83.71851, y: 0} m_AnchoredPosition: {x: 83.71851, y: -25.96685}
m_SizeDelta: {x: 51.9337, y: 0} m_SizeDelta: {x: 0, y: 51.9337}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2582842219960060486 --- !u!222 &2582842219960060486
CanvasRenderer: CanvasRenderer:
......
...@@ -588,7 +588,7 @@ MonoBehaviour: ...@@ -588,7 +588,7 @@ MonoBehaviour:
overEdge: 0 overEdge: 0
underEdge: 0 underEdge: 0
leadingDistribution: 0 leadingDistribution: 0
autoSize: 0 autoSize: 1
minFontSize: 10 minFontSize: 10
maxFontSize: 72 maxFontSize: 72
modRegisters: modRegisters:
...@@ -1020,10 +1020,10 @@ RectTransform: ...@@ -1020,10 +1020,10 @@ RectTransform:
m_Children: [] m_Children: []
m_Father: {fileID: 5665338920870028329} m_Father: {fileID: 5665338920870028329}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 22.572838, y: 0} m_AnchoredPosition: {x: 22.572838, y: -25.96685}
m_SizeDelta: {x: 51.9337, y: 0} m_SizeDelta: {x: 0, y: 51.9337}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1367268893384981932 --- !u!222 &1367268893384981932
CanvasRenderer: CanvasRenderer:
...@@ -1971,7 +1971,7 @@ MonoBehaviour: ...@@ -1971,7 +1971,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.GraphicRaycaster m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.GraphicRaycaster
m_IgnoreReversedGraphics: 1 m_IgnoreReversedGraphics: 0
m_BlockingObjects: 0 m_BlockingObjects: 0
m_BlockingMask: m_BlockingMask:
serializedVersion: 2 serializedVersion: 2
...@@ -2321,7 +2321,7 @@ GameObject: ...@@ -2321,7 +2321,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &2126029859342928170 --- !u!224 &2126029859342928170
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -2331,8 +2331,8 @@ RectTransform: ...@@ -2331,8 +2331,8 @@ RectTransform:
m_GameObject: {fileID: 4807635275847702964} m_GameObject: {fileID: 4807635275847702964}
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_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.5625, y: 0.5625, z: 0.5625} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 1
m_Children: m_Children:
- {fileID: 37626301424459968} - {fileID: 37626301424459968}
m_Father: {fileID: 6025958000610179652} m_Father: {fileID: 6025958000610179652}
...@@ -2340,7 +2340,7 @@ RectTransform: ...@@ -2340,7 +2340,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 840, y: 1493.3333} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1697728672160704455 --- !u!222 &1697728672160704455
CanvasRenderer: CanvasRenderer:
...@@ -3351,10 +3351,10 @@ RectTransform: ...@@ -3351,10 +3351,10 @@ RectTransform:
m_Children: [] m_Children: []
m_Father: {fileID: 5665338920870028329} m_Father: {fileID: 5665338920870028329}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 83.71851, y: 0} m_AnchoredPosition: {x: 83.71851, y: -25.96685}
m_SizeDelta: {x: 51.9337, y: 0} m_SizeDelta: {x: 0, y: 51.9337}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6044436298841298018 --- !u!222 &6044436298841298018
CanvasRenderer: CanvasRenderer:
...@@ -3441,10 +3441,10 @@ RectTransform: ...@@ -3441,10 +3441,10 @@ RectTransform:
m_Children: [] m_Children: []
m_Father: {fileID: 5665338920870028329} m_Father: {fileID: 5665338920870028329}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 267.15555, y: 0} m_AnchoredPosition: {x: 267.15555, y: -25.96685}
m_SizeDelta: {x: 51.9337, y: 0} m_SizeDelta: {x: 0, y: 51.9337}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7681831561278972478 --- !u!222 &7681831561278972478
CanvasRenderer: CanvasRenderer:
...@@ -3903,10 +3903,10 @@ RectTransform: ...@@ -3903,10 +3903,10 @@ RectTransform:
m_Children: [] m_Children: []
m_Father: {fileID: 5665338920870028329} m_Father: {fileID: 5665338920870028329}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 206.00986, y: 0} m_AnchoredPosition: {x: 206.00986, y: -25.96685}
m_SizeDelta: {x: 51.9337, y: 0} m_SizeDelta: {x: 0, y: 51.9337}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8749602556167845090 --- !u!222 &8749602556167845090
CanvasRenderer: CanvasRenderer:
...@@ -4068,10 +4068,10 @@ RectTransform: ...@@ -4068,10 +4068,10 @@ RectTransform:
m_Children: [] m_Children: []
m_Father: {fileID: 5665338920870028329} m_Father: {fileID: 5665338920870028329}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 144.8642, y: 0} m_AnchoredPosition: {x: 144.8642, y: -25.96685}
m_SizeDelta: {x: 51.9337, y: 0} m_SizeDelta: {x: 0, y: 51.9337}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8187631058268110602 --- !u!222 &8187631058268110602
CanvasRenderer: CanvasRenderer:
......
...@@ -2386,11 +2386,11 @@ MonoBehaviour: ...@@ -2386,11 +2386,11 @@ MonoBehaviour:
_streakText: {fileID: 3088443959907424236} _streakText: {fileID: 3088443959907424236}
_scoreLbl: {fileID: 5924483057703210132} _scoreLbl: {fileID: 5924483057703210132}
_loadingText: {fileID: 7759164263249432265} _loadingText: {fileID: 7759164263249432265}
_errorText: {fileID: 2594165393456477704}
_progressLabel: {fileID: 7501656307173425929} _progressLabel: {fileID: 7501656307173425929}
_resultTitle: {fileID: 3377821766872872317} _resultTitle: {fileID: 3377821766872872317}
_resultScore: {fileID: 2058651398905202117} _resultScore: {fileID: 2058651398905202117}
_resultStats: {fileID: 2189195751882486028} _resultStats: {fileID: 2189195751882486028}
_errorText: {fileID: 1805088816235923994}
_feedbackText: {fileID: 2715045871399486055} _feedbackText: {fileID: 2715045871399486055}
_feedbackBg: {fileID: 609508365388699558} _feedbackBg: {fileID: 609508365388699558}
_restartButton: {fileID: 2142933248170327394} _restartButton: {fileID: 2142933248170327394}
...@@ -3535,7 +3535,7 @@ GameObject: ...@@ -3535,7 +3535,7 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 2090849387953898811} - component: {fileID: 2090849387953898811}
- component: {fileID: 3573761653700519801} - component: {fileID: 3573761653700519801}
- component: {fileID: 2594165393456477704} - component: {fileID: 1805088816235923994}
m_Layer: 0 m_Layer: 0
m_Name: Txt m_Name: Txt
m_TagString: Untagged m_TagString: Untagged
...@@ -3560,7 +3560,7 @@ RectTransform: ...@@ -3560,7 +3560,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 600, y: 100} m_SizeDelta: {x: 600, y: 225.9419}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3573761653700519801 --- !u!222 &3573761653700519801
CanvasRenderer: CanvasRenderer:
...@@ -3570,7 +3570,7 @@ CanvasRenderer: ...@@ -3570,7 +3570,7 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8205817321969538790} m_GameObject: {fileID: 8205817321969538790}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!114 &2594165393456477704 --- !u!114 &1805088816235923994
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
...@@ -3579,9 +3579,9 @@ MonoBehaviour: ...@@ -3579,9 +3579,9 @@ MonoBehaviour:
m_GameObject: {fileID: 8205817321969538790} m_GameObject: {fileID: 8205817321969538790}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0e20cc1eab1d04e7c9515c000ca5ba22, type: 3} m_Script: {fileID: 11500000, guid: beaa34cb0e58d624bb3a264b28600785, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: Assembly-CSharp::ALArcade.ArabicTMP.ArabicTextMeshProUGUI m_EditorClassIdentifier: LightSide.UniText::LightSide.UniText
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
...@@ -3590,83 +3590,35 @@ MonoBehaviour: ...@@ -3590,83 +3590,35 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_text: "\uFEA7\uFEC4\uFE84" text:
m_isRightToLeft: 1 fontStack: {fileID: 0}
m_fontAsset: {fileID: 11400000, guid: 8b4edeefed0fc9f60b1084045988b4cb, type: 2} appearance: {fileID: 0}
m_sharedMaterial: {fileID: 2623560040057873289, guid: 8b4edeefed0fc9f60b1084045988b4cb, type: 2} fontSize: 36
m_fontSharedMaterials: [] baseDirection: 2
m_fontMaterial: {fileID: 0} wordWrap: 1
m_fontMaterials: [] horizontalAlignment: 1
m_fontColor32: verticalAlignment: 1
serializedVersion: 2 overEdge: 0
rgba: 4294967295 underEdge: 0
m_fontColor: {r: 1, g: 1, b: 1, a: 1} leadingDistribution: 0
m_enableVertexGradient: 0 autoSize: 0
m_colorMode: 3 minFontSize: 10
m_fontColorGradient: maxFontSize: 72
topLeft: {r: 1, g: 1, b: 1, a: 1} modRegisters:
topRight: {r: 1, g: 1, b: 1, a: 1} items: []
bottomLeft: {r: 1, g: 1, b: 1, a: 1} modRegisterConfigs:
bottomRight: {r: 1, g: 1, b: 1, a: 1} items: []
m_fontColorGradientPreset: {fileID: 0} highlighter:
m_spriteAsset: {fileID: 0} rid: 5227943948359565962
m_tintAllSprites: 0 references:
m_StyleSheet: {fileID: 0} version: 2
m_TextStyleHashCode: -1183493901 RefIds:
m_overrideHtmlColors: 0 - rid: 5227943948359565962
m_faceColor: type: {class: DefaultTextHighlighter, ns: LightSide, asm: LightSide.UniText}
serializedVersion: 2 data:
rgba: 4294967295 clickColor: {r: 0.2, g: 0.5, b: 1, a: 0.6}
m_fontSize: 24 fadeDuration: 0.25
m_fontSizeBase: 24 hoverColor: {r: 0.2, g: 0.5, b: 1, a: 0.1}
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_characterHorizontalScale: 1
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_TextWrappingMode: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 0
m_ActiveFontFeatures: 6e72656b
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_EmojiFallbackSupport: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
m_ArabicText: "\u062E\u0637\u0623"
m_ShowTashkeel: 1
m_PreserveNumbers: 1
m_FixTags: 1
m_ForceRTL: 1
--- !u!1 &9048445354178813042 --- !u!1 &9048445354178813042
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
......
...@@ -24,8 +24,8 @@ namespace com.al_arcade.cs ...@@ -24,8 +24,8 @@ namespace com.al_arcade.cs
[SerializeField] protected UniText _feedbackText; [SerializeField] protected UniText _feedbackText;
[SerializeField] protected Image _feedbackBg, _timerFill; [SerializeField] protected Image _feedbackBg, _timerFill;
[SerializeField] protected ArabicTextMeshProUGUI _loadingText, _errorText; [SerializeField] protected ArabicTextMeshProUGUI _loadingText;
[SerializeField] protected UniText _resultTitle, _resultScore, _resultStats, _countDownText, _timerText, _timerUpdateText; [SerializeField] protected UniText _resultTitle, _resultScore, _resultStats, _countDownText, _timerText, _timerUpdateText, _errorText;
[SerializeField] protected Transform _optionsContainer; [SerializeField] protected Transform _optionsContainer;
[SerializeField] protected Button _restartButton; [SerializeField] protected Button _restartButton;
...@@ -445,7 +445,7 @@ namespace com.al_arcade.cs ...@@ -445,7 +445,7 @@ namespace com.al_arcade.cs
{ _loadingUI.DOFade(0f, 0.3f).OnComplete(() => _loadingUI.gameObject.SetActive(false)); } { _loadingUI.DOFade(0f, 0.3f).OnComplete(() => _loadingUI.gameObject.SetActive(false)); }
public void ShowError(string msg) public void ShowError(string msg)
{ _errorUI.gameObject.SetActive(true); if (_errorText != null) _errorText.arabicText = msg; _errorUI.DOFade(1f, 0.3f); } { _errorUI.gameObject.SetActive(true); if (_errorText != null) _errorText.Text = msg; _errorUI.DOFade(1f, 0.3f); }
public IEnumerator ShowCountDown() public IEnumerator ShowCountDown()
{ {
......
...@@ -151,7 +151,7 @@ namespace com.al_arcade.shared ...@@ -151,7 +151,7 @@ namespace com.al_arcade.shared
if (!HasValidQuestions() || error != null) if (!HasValidQuestions() || error != null)
{ {
OnShowError(error ?? "لا توجد أسئلة"); OnShowError("فشل تحميل الأسئلة. الرجاء المحاولة مرة أخرى.");
yield break; yield break;
} }
...@@ -220,7 +220,7 @@ namespace com.al_arcade.shared ...@@ -220,7 +220,7 @@ namespace com.al_arcade.shared
protected void ResetBaseState() protected void ResetBaseState()
{ {
StopAllCoroutines(); StopAllCoroutines();
_score = _streak = _correctCount = _wrongCount = _currentIndex = _totalAsked =_bestStreak= 0; _score = _streak = _correctCount = _wrongCount = _currentIndex = _totalAsked = _bestStreak = 0;
_timeLeft = 0f; _timeLeft = 0f;
_timerRunning = false; _timerRunning = false;
} }
......
...@@ -306,7 +306,7 @@ namespace com.al_arcade.tf ...@@ -306,7 +306,7 @@ namespace com.al_arcade.tf
protected override IEnumerator NoChallengeLoseSequence() protected override IEnumerator NoChallengeLoseSequence()
{ {
yield return new WaitForSeconds(1f); yield return new WaitForSeconds(1f);
uiManager?.ShowResults(_score, _correctCount, _wrongCount,_questions.Length, _bestStreak, false); uiManager?.ShowResults(_score, _correctCount, _wrongCount, _questions.Length, _bestStreak, false);
onGameOver?.Invoke(); onGameOver?.Invoke();
} }
...@@ -328,7 +328,7 @@ namespace com.al_arcade.tf ...@@ -328,7 +328,7 @@ namespace com.al_arcade.tf
protected override IEnumerator NoChallengeVictorySequence() protected override IEnumerator NoChallengeVictorySequence()
{ {
yield return new WaitForSeconds(1.5f); yield return new WaitForSeconds(1.5f);
uiManager?.ShowResults(_score, _correctCount, _wrongCount,_questions.Length ,_bestStreak); uiManager?.ShowResults(_score, _correctCount, _wrongCount, _questions.Length, _bestStreak);
onGameComplete?.Invoke(); onGameComplete?.Invoke();
} }
......
...@@ -16,9 +16,9 @@ namespace com.al_arcade.tf ...@@ -16,9 +16,9 @@ namespace com.al_arcade.tf
[SerializeField] private Canvas _canvas; [SerializeField] private Canvas _canvas;
[SerializeField] private CanvasGroup _gameUI, _loadingUI, _errorUI, _resultsUI, _feedbackGroup; [SerializeField] private CanvasGroup _gameUI, _loadingUI, _errorUI, _resultsUI, _feedbackGroup;
[SerializeField] private UniText _scoreText, _streakText, _scoreLbl; [SerializeField] private UniText _scoreText, _streakText, _scoreLbl;
[SerializeField] private ArabicTextMeshProUGUI _loadingText, _errorText; [SerializeField] private ArabicTextMeshProUGUI _loadingText;
[SerializeField] private UniText _progressLabel; [SerializeField] private UniText _progressLabel;
[SerializeField] private UniText _resultTitle, _resultScore, _resultStats; [SerializeField] private UniText _resultTitle, _resultScore, _resultStats, _errorText;
[SerializeField] private UniText _feedbackText; [SerializeField] private UniText _feedbackText;
[SerializeField] private Image _feedbackBg; [SerializeField] private Image _feedbackBg;
[SerializeField] private Button _restartButton; [SerializeField] private Button _restartButton;
...@@ -223,7 +223,7 @@ namespace com.al_arcade.tf ...@@ -223,7 +223,7 @@ namespace com.al_arcade.tf
public void ShowError(string m) public void ShowError(string m)
{ {
_errorUI.gameObject.SetActive(true); _errorUI.gameObject.SetActive(true);
if (_errorText != null) _errorText.arabicText = m; if (_errorText != null) _errorText.Text = m;
_errorUI.DOFade(1, 0.3f); _errorUI.DOFade(1, 0.3f);
} }
...@@ -350,11 +350,11 @@ namespace com.al_arcade.tf ...@@ -350,11 +350,11 @@ namespace com.al_arcade.tf
go.AddComponent<Image>().color = go.AddComponent<Image>().color =
SSColorPalette.WithAlpha(SSColorPalette.Danger, 0.9f); SSColorPalette.WithAlpha(SSColorPalette.Danger, 0.9f);
_errorText = MkTxt(go.transform, "Txt", "خطأ", 24, // _errorText = MkTxt(go.transform, "Txt", "خطأ", 24,
new Vector2(0.5f, 0.5f), Vector2.zero, new Vector2(600, 90)); // new Vector2(0.5f, 0.5f), Vector2.zero, new Vector2(600, 90));
_errorText.alignment = TMPro.TextAlignmentOptions.Center; // _errorText.alignment = TMPro.TextAlignmentOptions.Center;
_errorText.color = Color.white; // _errorText.color = Color.white;
_errorText.enableWordWrapping = true; // _errorText.enableWordWrapping = true;
} }
private void BuildResultsPanel(Transform parent) private void BuildResultsPanel(Transform parent)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment