Commit 656b9b32 authored by Yousef Sameh's avatar Yousef Sameh

Merge remote-tracking branch 'origin/NewUIv2' into NewUI

# Conflicts:
#	My project/Assets/App/Infrastructure/Core/AppRouter.cs
#	My project/Assets/AppUI/NewAppUI/Login.uxml
#	My project/Assets/AppUI/NewAppUI/Scene/Boot.unity
#	My project/ProjectSettings/ProjectVersion.txt
parents 754a039e f7d8c037
......@@ -65,6 +65,56 @@ public class SupabaseAuthentication
}
}
public async UniTask<OneOf<Success, string>> ConvertGuestToEmail(string email, string password)
{
try
{
IsLoading = true;
var client = SupabaseManager.Instance.Supabase();
if (client == null) return "Supabase not initialized";
// 1. Verify we actually have a guest user logged in
if (client.Auth.CurrentUser == null)
return "No guest session found.";
// 2. Update the user with the new credentials
// This 'upgrades' the current anonymous user record
var attributes = new Supabase.Gotrue.UserAttributes
{
Email = email,
Password = password
};
var response = await client.Auth.Update(attributes);
if (response != null)
{
Debug.Log($"[Auth] Guest converted to email: {email}");
// Note: If 'Confirm Email' is ON in Supabase, the user
// might need to verify their email before the change is final.
return new Success();
}
return "Conversion failed: Unknown error";
}
catch (GotrueException ex)
{
Debug.LogError($"[Auth Convert] {ex.Message}");
return ex.Message;
}
catch (Exception ex)
{
Debug.LogError($"[Auth Convert] {ex.Message}");
return ex.Message;
}
finally
{
IsLoading = false;
}
}
public async UniTask<OneOf<Success, string>> LogIn(string email, string password)
{
try
......@@ -150,6 +200,49 @@ public class SupabaseAuthentication
}
}
public async UniTask<OneOf<Success, string>> SignUp(string email, string password, string username = "")
{
try
{
IsLoading = true;
var client = SupabaseManager.Instance.Supabase();
if (client == null)
return "Supabase not initialized";
// Optional: Include metadata like 'username' so it's available in auth.users
var options = new Supabase.Gotrue.SignUpOptions();
if (!string.IsNullOrEmpty(username))
{
options.Data = new Dictionary<string, object>
{
{ "username", username }
};
}
await client.Auth.SignUp(email.Trim(), password, options);
// Note: If 'Confirm Email' is ON in your Supabase dashboard,
// the user won't be able to sign in until they click the link.
return new Success();
}
catch (GotrueException ex)
{
Debug.LogError($"[Auth Signup] {ex.Message}");
return ex.Message;
}
catch (Exception ex)
{
Debug.LogError($"[Auth Signup] {ex.Message}");
return ex.Message;
}
finally
{
IsLoading = false;
}
}
public async UniTask<OneOf<Success, string>> DeleteAccount()
{
try
......
......@@ -160,7 +160,8 @@ public class UserService
int grade,
string sex,
int curriculum,
int term)
int term,
string email = null)
{
try
{
......@@ -179,6 +180,9 @@ public class UserService
Points = 0
};
if (email != null)
user.Email = email;
await client.From<User>().Insert(user);
return await GetCurrentUser();
}
......@@ -193,7 +197,9 @@ public class UserService
string username,
int grade,
int term,
int curriculum)
int curriculum,
string email = null
)
{
try
{
......@@ -204,6 +210,7 @@ public class UserService
var update = CurrentUser.Clone() as User;
if (username != null) update.Username = username;
if (email != null) update.Email = email;
update.Grade = grade;
update.Term = term;
update.Curriculum = curriculum;
......
......@@ -13,6 +13,9 @@ public class User : BaseModel, ICloneable
[Column("user_name")]
public string Username { get; set; }
[Column("email")]
public string Email { get; set; }
[Column("rank")]
public string Rank { get; set; }
......
......@@ -113,6 +113,16 @@ public class HomeController : MonoBehaviour
practiceButton.SetEnabled(enabled);
practiceButton.style.opacity = enabled ? 1f : 0.35f;
}
DisableChallengeIfAnon();
}
private void DisableChallengeIfAnon()
{
if (SupabaseManager.Instance.Supabase().Auth.CurrentUser.IsAnonymous)
{
challengeButton.style.opacity = 0.35f;
}
}
// private void OnNewActivityReceived(Activity activity)
......@@ -145,6 +155,12 @@ public class HomeController : MonoBehaviour
private void OnChallengeButtonClicked()
{
if (SupabaseManager.Instance.Supabase().Auth.CurrentUser.IsAnonymous)
{
ShowUIMessage.Instance.ShowMessage("سجل حساب أو سجل دخولك لتتمكن من الوصول إلى التحدي", true);
return;
}
if (IsNavigating) return;
IsNavigating = true;
......
......@@ -86,7 +86,7 @@ public class LeaderboardController : MonoBehaviour, IDisposable
{
var errorLabel = new Label($"Error loading leaderboard: {error}");
leaderboardScrollView.Add(errorLabel);
}
}
);
}
catch (OperationCanceledException)
......
......@@ -17,6 +17,8 @@ public class ProfileController : MonoBehaviour
private CustomSwitch musicSwitch;
private CustomSwitch sfxSwitch;
private Button sure;
void Start()
{
var root = profileDocument.rootVisualElement.Q("Settings");
......@@ -41,6 +43,10 @@ public class ProfileController : MonoBehaviour
musicSwitch.onValueChanged += (value) => SettingsCache.MusicEnabled = value;
sfxSwitch.onValueChanged += (value) => SettingsCache.SfxEnabled = value;
sure = root.Q<Button>("Sure");
sure.clicked += DeleteAccount;
UserService.Instance.OnUserChanged += OnUserChange;
OnUserChange(UserService.Instance.CurrentUser);
}
......@@ -79,10 +85,17 @@ public class ProfileController : MonoBehaviour
);
}
private async void DeleteAccount()
{
await SupabaseAuthentication.Instance.DeleteAccount();
}
private void OnDestroy()
{
UserService.Instance.OnUserChanged -= OnUserChange;
logoutButton.clicked -= AppRouter.Logout;
updateProfileButton.clicked -= UpdateProfile;
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
fileFormatVersion: 2
guid: 6b616f783aad2ab4a81fd452786f2041
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!84 &8400000
RenderTexture:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: DotFloating
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_IsAlphaChannelOptional: 0
serializedVersion: 6
m_Width: 1080
m_Height: 1920
m_AntiAliasing: 1
m_MipCount: -1
m_DepthStencilFormat: 94
m_ColorFormat: 8
m_MipMap: 0
m_GenerateMips: 1
m_SRGB: 0
m_UseDynamicScale: 0
m_UseDynamicScaleExplicit: 0
m_BindMS: 0
m_EnableCompatibleFormat: 1
m_EnableRandomWrite: 0
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 0
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_Dimension: 2
m_VolumeDepth: 1
m_ShadowSamplingMode: 2
fileFormatVersion: 2
guid: 038b07559aa3b7c40aa0c6d6f3af26e6
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 8400000
userData:
assetBundleName:
assetBundleVariant:
using UnityEngine;
public class FPSDisplay : MonoBehaviour
{
float deltaTime = 0.0f;
private void Start()
{
DontDestroyOnLoad(gameObject);
}
void Update()
{
deltaTime += (Time.deltaTime - deltaTime) * 0.1f;
}
void OnGUI()
{
int w = Screen.width, h = Screen.height;
GUIStyle style = new GUIStyle();
Rect rect = new Rect(10, 10, w, h * 2 / 100);
style.alignment = TextAnchor.UpperLeft;
style.fontSize = h * 2 / 100;
style.normal.textColor = Color.green;
float msec = deltaTime * 1000.0f;
float fps = 1.0f / deltaTime;
string text = string.Format("{0:0.0} ms ({1:0.} FPS)", msec, fps);
GUI.Label(rect, text, style);
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: 15318eff4103b8c45bc1e43b387203c1
\ No newline at end of file
<ui:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/AppUI/NewAppUI/USS/NewStyle.uss?fileID=7433441132597879392&amp;guid=c81297485ce529246b88d7955e887342&amp;type=3#NewStyle"/>
<ui:VisualElement name="Root" style="flex-grow: 1; background-color: rgb(238, 240, 248);">
<ui:VisualElement name="Header" style="flex-grow: 0; height: 275px; border-bottom-right-radius: 75px; border-bottom-left-radius: 75px; background-color: rgb(0, 137, 107);">
<ui:Image source="project://database/Assets/Art/SSLAB%20LOGOS/2.png?fileID=2800000&amp;guid=980570066fb5dd74abc396427104080f&amp;type=3#2"/>
</ui:VisualElement>
<ui:VisualElement name="ContantPanel" class="padding" style="flex-grow: 1; translate: 0 100%; transition-duration: 0.15s;">
<ui:VisualElement template="Template" name="textField" style="margin-bottom: 50px;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse;">
<ui:Label text="👤" name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="اسم المستخدم" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 35px; -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;);"/>
</ui:VisualElement>
<ui:TextField label="" placeholder-text="" name="Username" value="" language-direction="RTL" class="textField" style="flex-direction: row-reverse; color: rgb(0, 0, 0); -unity-font-definition: url(&quot;project://database/Assets/UI%20Toolkit/UnityThemes/UnityDefaultRuntimeTheme.tss?fileID=2230732570650464555&amp;guid=901fb73b2529c134f9cf372789759383&amp;type=3#NotInter-Regular&quot;); -unity-text-align: upper-right; -unity-text-generator: advanced; justify-content: space-between; align-content: flex-start; white-space: nowrap; text-overflow: clip;">
<ui:Image source="project://database/Assets/Art/export/mail@3x.png?fileID=2800000&amp;guid=0d76662a81af3a7408ca3c2975f08b8f&amp;type=3#mail@3x" tint-color="rgb(158, 158, 158)" style="margin-left: 25px; width: 51px; display: none;"/>
</ui:TextField>
</ui:VisualElement>
<ui:VisualElement template="Template" name="textField" style="margin-bottom: 50px;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse;">
<ui:Label text="👧👦 " name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="اختر النوع" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 35px; -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;);"/>
<ui:VisualElement name="Root" style="flex-grow: 0; background-color: rgb(48, 48, 208); width: 200%; flex-direction: row; transition-duration: 0.15s;">
<ui:VisualElement name="Login" style="flex-grow: 0; align-items: center; display: flex; justify-content: center; width: 50%; flex-shrink: 0; overflow: hidden; transition-duration: 0.15s;">
<ui:VisualElement style="flex-grow: 0; position: absolute; height: 500px; width: 500px; background-color: rgba(255, 255, 255, 0.05); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; right: -167px; top: -139px;"/>
<ui:Image source="project://database/Assets/Art/SSLAB%20LOGOS/2.png?fileID=2800000&amp;guid=980570066fb5dd74abc396427104080f&amp;type=3#2" style="height: 316px;"/>
<ui:Label text="تعلم، العب واربح!" language-direction="RTL" class="text-bold" style="-unity-text-align: upper-center; margin-bottom: 75px;"/>
<ui:VisualElement name="Contant" class="padding" style="flex-grow: 0; width: 80%; height: auto; margin-bottom: 0; background-color: rgb(255, 255, 255); border-top-left-radius: 75px; border-top-right-radius: 75px; border-bottom-right-radius: 75px; border-bottom-left-radius: 75px;">
<ui:VisualElement template="Template" name="Email" style="margin-bottom: 50px; display: flex;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse; padding-bottom: 20px;">
<ui:Label text="👤" name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="البريد الإلكتروني" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 35px; -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;);"/>
</ui:VisualElement>
<ui:TextField label="" placeholder-text="" name="Email" value="" language-direction="RTL" keyboard-type="EmailAddress" class="textField" style="flex-direction: row-reverse; color: rgb(0, 0, 0); -unity-font-definition: url(&quot;project://database/Assets/UI%20Toolkit/UnityThemes/UnityDefaultRuntimeTheme.tss?fileID=2230732570650464555&amp;guid=901fb73b2529c134f9cf372789759383&amp;type=3#NotInter-Regular&quot;); -unity-text-align: upper-right; -unity-text-generator: advanced; justify-content: space-between; align-content: flex-start; white-space: nowrap; text-overflow: clip;">
<ui:Image source="project://database/Assets/Art/export/mail@3x.png?fileID=2800000&amp;guid=0d76662a81af3a7408ca3c2975f08b8f&amp;type=3#mail@3x" tint-color="rgb(158, 158, 158)" style="margin-left: 25px; width: 51px; display: none;"/>
</ui:TextField>
</ui:VisualElement>
<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: 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: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px; 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; margin-bottom: 0;">
<ui:Button text="" name="Grade" class="row-btn" style="height: 80px; -unity-text-align: middle-right;">
<ui:DropdownField label="" choices="اختر النوع...,ذكر,انثي" index="0" language-direction="RTL" name="Sex" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; font-size: 35px; -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(66, 66, 66); -unity-text-align: upper-right; flex-direction: row;"/>
</ui:Button>
<ui:VisualElement template="Template" name="Password" style="margin-bottom: 50px; display: flex;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse; padding-bottom: 20px;">
<ui:Label text="🔑" name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="كلمة المرور" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 35px; -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;);"/>
</ui:VisualElement>
<ui:TextField label="" placeholder-text="" name="Password" value="" language-direction="RTL" keyboard-type="EmailAddress" password="true" class="textField" style="flex-direction: row-reverse; color: rgb(0, 0, 0); -unity-font-definition: url(&quot;project://database/Assets/UI%20Toolkit/UnityThemes/UnityDefaultRuntimeTheme.tss?fileID=2230732570650464555&amp;guid=901fb73b2529c134f9cf372789759383&amp;type=3#NotInter-Regular&quot;); -unity-text-align: upper-right; -unity-text-generator: advanced; justify-content: space-between; align-content: flex-start; white-space: nowrap; text-overflow: clip;">
<ui:Image source="project://database/Assets/Art/export/mail@3x.png?fileID=2800000&amp;guid=0d76662a81af3a7408ca3c2975f08b8f&amp;type=3#mail@3x" tint-color="rgb(158, 158, 158)" style="margin-left: 25px; width: 51px; display: none;"/>
</ui:TextField>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement template="Template" name="textField" style="margin-bottom: 50px;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse;">
<ui:Label text="🏫 " name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="النظام التعليمي" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 35px; -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;);"/>
<ui:VisualElement name="Home" style="flex-grow: 0; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;">
<ui:VisualElement name="ButtonsParent" style="flex-grow: 0; flex-direction: row; justify-content: space-between; flex-shrink: 0; height: 176px;">
<ui:VisualElement name="LoginPanelShadow" style="flex-grow: 1; background-color: rgb(128, 183, 171); position: absolute; width: 100%; height: 100%; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; translate: 0% 14px; filter: blur(30); left: 0;"/>
<ui:Button text="دخول" name="LoginButton" language-direction="RTL" double-click-selects-word="false" 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; width: 100%; height: 100%; align-items: center; justify-content: center; flex-direction: row; font-size: 65px; -unity-font-definition: url(&quot;project://database/Assets/_project/Fonts/TS%20Hakwaty%20Bold.otf?fileID=12800000&amp;guid=62191f6d90aeccb4d896e29b4844ceaf&amp;type=3#TS Hakwaty Bold&quot;); color: rgb(255, 255, 255); -unity-text-generator: advanced;">
<ui:VisualElement name="Cir" style="flex-grow: 0; height: 250px; width: 250px; background-color: rgba(255, 255, 255, 0.05); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; position: absolute; translate: 112% -96px;">
<ui:VisualElement name="Cir" style="flex-grow: 0; height: 250px; width: 250px; background-color: rgba(255, 255, 255, 0.05); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; position: absolute; translate: 26% 62px;"/>
</ui:VisualElement>
</ui:Button>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="ButtonText" style="flex-grow: 1; flex-direction: row-reverse; margin-top: 75px; justify-content: center; margin-bottom: 75px;">
<ui:Label text="ليس لديك حساب؟" class="text-bold" style="color: rgb(117, 117, 117); margin-left: 20px; font-size: 35px;"/>
<ui:Button text="تسجيل" name="OpenRegisterPanel" class="loginPage-button-text" style="font-size: 35px;"/>
</ui:VisualElement>
<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: 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: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px; 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; margin-bottom: 0;">
<ui:Button text="" name="" class="row-btn" style="height: 80px; -unity-text-align: middle-right;">
<ui:DropdownField label="" choices="اختر المدرسة...,مصري عربي,مصري لغات" index="0" language-direction="RTL" name="Curriculum" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; font-size: 35px; -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(66, 66, 66); -unity-text-align: upper-right; flex-direction: row;"/>
</ui:Button>
<ui:VisualElement name="Home" style="flex-grow: 0; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;">
<ui:VisualElement name="ButtonsParent" style="flex-grow: 0; flex-direction: row; justify-content: space-between; flex-shrink: 0; height: 100px;">
<ui:Button text="دخول كضيف" name="GuestModeButton" language-direction="RTL" double-click-selects-word="false" style="background-color: rgb(123, 123, 123); border-left-color: rgb(70, 70, 70); border-right-color: rgb(70, 70, 70); border-top-color: rgb(70, 70, 70); border-bottom-color: rgb(70, 70, 70); overflow: hidden; width: 100%; height: 100%; align-items: center; justify-content: center; flex-direction: row; font-size: 45px; -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;); color: rgb(255, 255, 255); -unity-text-generator: advanced; border-bottom-width: 0; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px;">
<ui:VisualElement name="Cir" style="flex-grow: 0; height: 250px; width: 250px; background-color: rgba(255, 255, 255, 0.05); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; position: absolute; translate: 112% -96px;">
<ui:VisualElement name="Cir" style="flex-grow: 0; height: 250px; width: 250px; background-color: rgba(255, 255, 255, 0.05); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; position: absolute; translate: 26% 62px;"/>
</ui:VisualElement>
</ui:Button>
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement template="Template" name="textField" style="margin-bottom: 50px;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse;">
<ui:Label text="🎓 " name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="المرحلة الدراسية" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 35px; -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;);"/>
</ui:VisualElement>
<ui:ScrollView vertical-scroller-visibility="Hidden" horizontal-scroller-visibility="Hidden" name="Register" style="display: flex; border-top-left-radius: 50px; border-top-right-radius: 50px; height: auto; flex-grow: 0; width: 50%; flex-shrink: 0; overflow: hidden;">
<ui:VisualElement style="flex-grow: 0; position: absolute; height: 500px; width: 500px; background-color: rgba(255, 255, 255, 0.05); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; right: -167px; top: -139px;"/>
<ui:Image source="project://database/Assets/Art/SSLAB%20LOGOS/2.png?fileID=2800000&amp;guid=980570066fb5dd74abc396427104080f&amp;type=3#2" style="height: 342px;"/>
<ui:Label text="تعلم، العب واربح!" language-direction="RTL" class="text-bold" style="-unity-text-align: upper-center; margin-bottom: 75px;"/>
<ui:VisualElement name="Background" class="padding" style="flex-grow: 1; background-color: rgb(255, 255, 255); border-top-left-radius: 100px; border-top-right-radius: 100px; border-top-width: 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-right-width: 0; border-bottom-width: 0; border-left-width: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 0; padding-top: 150px;">
<ui:VisualElement template="Template" name="Username" style="margin-bottom: 50px; display: flex;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse; padding-bottom: 20px;">
<ui:Label text="👤" name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="اسم المستخدم" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 35px; -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;);"/>
</ui:VisualElement>
<ui:TextField label="" placeholder-text="" name="Username" value="" language-direction="RTL" class="textField" style="flex-direction: row-reverse; color: rgb(0, 0, 0); -unity-font-definition: url(&quot;project://database/Assets/UI%20Toolkit/UnityThemes/UnityDefaultRuntimeTheme.tss?fileID=2230732570650464555&amp;guid=901fb73b2529c134f9cf372789759383&amp;type=3#NotInter-Regular&quot;); -unity-text-align: upper-right; -unity-text-generator: advanced; justify-content: space-between; align-content: flex-start; white-space: nowrap; text-overflow: clip; 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); border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px;">
<ui:Image source="project://database/Assets/Art/export/mail@3x.png?fileID=2800000&amp;guid=0d76662a81af3a7408ca3c2975f08b8f&amp;type=3#mail@3x" tint-color="rgb(158, 158, 158)" style="margin-left: 25px; width: 51px; display: none;"/>
</ui:TextField>
</ui:VisualElement>
<ui:VisualElement template="Template" name="Email" style="margin-bottom: 50px; display: flex;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse; padding-bottom: 20px;">
<ui:Label text="✉️" name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="البريد الألكتروني" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 35px; -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;);"/>
</ui:VisualElement>
<ui:TextField label="" placeholder-text="" name="Email" value="" language-direction="RTL" keyboard-type="EmailAddress" class="textField" style="flex-direction: row-reverse; color: rgb(0, 0, 0); -unity-font-definition: url(&quot;project://database/Assets/UI%20Toolkit/UnityThemes/UnityDefaultRuntimeTheme.tss?fileID=2230732570650464555&amp;guid=901fb73b2529c134f9cf372789759383&amp;type=3#NotInter-Regular&quot;); -unity-text-align: upper-right; -unity-text-generator: advanced; justify-content: space-between; align-content: flex-start; white-space: nowrap; text-overflow: clip; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px;">
<ui:Image source="project://database/Assets/Art/export/mail@3x.png?fileID=2800000&amp;guid=0d76662a81af3a7408ca3c2975f08b8f&amp;type=3#mail@3x" tint-color="rgb(158, 158, 158)" style="margin-left: 25px; width: 51px; display: none;"/>
</ui:TextField>
</ui:VisualElement>
<ui:VisualElement template="Template" name="Password" style="margin-bottom: 50px; display: flex;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse; padding-bottom: 20px;">
<ui:Label text="🔑" name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="كلمة المرور" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 35px; -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;);"/>
</ui:VisualElement>
<ui:TextField label="" placeholder-text="" name="Password" value="" language-direction="RTL" password="true" class="textField" style="flex-direction: row-reverse; color: rgb(0, 0, 0); -unity-font-definition: url(&quot;project://database/Assets/UI%20Toolkit/UnityThemes/UnityDefaultRuntimeTheme.tss?fileID=2230732570650464555&amp;guid=901fb73b2529c134f9cf372789759383&amp;type=3#NotInter-Regular&quot;); -unity-text-align: upper-right; -unity-text-generator: advanced; justify-content: space-between; align-content: flex-start; white-space: nowrap; text-overflow: clip; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px;">
<ui:Image source="project://database/Assets/Art/export/mail@3x.png?fileID=2800000&amp;guid=0d76662a81af3a7408ca3c2975f08b8f&amp;type=3#mail@3x" tint-color="rgb(158, 158, 158)" style="margin-left: 25px; width: 51px; display: none;"/>
</ui:TextField>
</ui:VisualElement>
<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: 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: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px; 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; margin-bottom: 0;">
<ui:Button text="" name="Level" class="row-btn" style="height: 80px; -unity-text-align: middle-right;">
<ui:DropdownField label="" choices="اختر مرحلة...,الصف الأول الإعدادي,الصف الثاني الإعدادي,الصف الثالث الإعدادي,الصف الأول الثانوي,الصف الثاني الثانوي,الصف الثالث الثانوي" index="0" language-direction="RTL" name="Grade" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; font-size: 35px; -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(66, 66, 66); -unity-text-align: upper-right; flex-direction: row;"/>
</ui:Button>
<ui:VisualElement template="Template" name="RePassword" style="margin-bottom: 50px; display: flex;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse; padding-bottom: 20px;">
<ui:Label text="🔑" name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="تأكيد كلمة المرور" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 35px; -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;);"/>
</ui:VisualElement>
<ui:TextField label="" placeholder-text="" name="RePassword" value="" language-direction="RTL" password="true" class="textField" style="flex-direction: row-reverse; color: rgb(0, 0, 0); -unity-font-definition: url(&quot;project://database/Assets/UI%20Toolkit/UnityThemes/UnityDefaultRuntimeTheme.tss?fileID=2230732570650464555&amp;guid=901fb73b2529c134f9cf372789759383&amp;type=3#NotInter-Regular&quot;); -unity-text-align: upper-right; -unity-text-generator: advanced; justify-content: space-between; align-content: flex-start; white-space: nowrap; text-overflow: clip; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px;">
<ui:Image source="project://database/Assets/Art/export/mail@3x.png?fileID=2800000&amp;guid=0d76662a81af3a7408ca3c2975f08b8f&amp;type=3#mail@3x" tint-color="rgb(158, 158, 158)" style="margin-left: 25px; width: 51px; display: none;"/>
</ui:TextField>
</ui:VisualElement>
<ui:VisualElement template="Template" name="textField" style="margin-bottom: 50px; display: flex;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse; margin-bottom: 20px;">
<ui:Label text="👧👦 " name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="اختر النوع" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 0; font-size: 35px; -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;);"/>
</ui:VisualElement>
<ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; padding-top: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px; 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); display: flex; margin-bottom: 0;">
<ui:Button text="" name="Grade" class="row-btn" style="height: 80px; -unity-text-align: middle-right;">
<ui:DropdownField label="" choices="اختر النوع...,ذكر,انثي" index="0" language-direction="RTL" name="Sex" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; font-size: 35px; -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(66, 66, 66); -unity-text-align: upper-right; flex-direction: row;"/>
</ui:Button>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement template="Template" name="textField" style="margin-bottom: 50px;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse;">
<ui:Label text="🏫 " name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="النظام التعليمي" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 35px; -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;);"/>
</ui:VisualElement>
<ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; padding-top: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px; 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); display: flex; margin-bottom: 0;">
<ui:Button text="" name="" class="row-btn" style="height: 80px; -unity-text-align: middle-right;">
<ui:DropdownField label="" choices="اختر المدرسة...,مصري عربي,مصري لغات" index="0" language-direction="RTL" name="Curriculum" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; font-size: 35px; -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(66, 66, 66); -unity-text-align: upper-right; flex-direction: row;"/>
</ui:Button>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement template="Template" name="textField" style="margin-bottom: 50px;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse;">
<ui:Label text="🎓 " name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="المرحلة الدراسية" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 35px; -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;);"/>
</ui:VisualElement>
<ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; padding-top: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px; 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); display: flex; margin-bottom: 0;">
<ui:Button text="" name="Level" class="row-btn" style="height: 80px; -unity-text-align: middle-right;">
<ui:DropdownField label="" choices="اختر مرحلة...,الصف الأول الإعدادي,الصف الثاني الإعدادي,الصف الثالث الإعدادي,الصف الأول الثانوي,الصف الثاني الثانوي,الصف الثالث الثانوي" index="0" language-direction="RTL" name="Grade" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; font-size: 35px; -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(66, 66, 66); -unity-text-align: upper-right; flex-direction: row;"/>
</ui:Button>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement template="Template" name="textField" style="margin-bottom: 50px;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse;">
<ui:Label text="🎓 " name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="الفصل الدراسي" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 35px; -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;);"/>
</ui:VisualElement>
<ui:VisualElement name="Menu" class="padding" style="flex-grow: 0; background-color: rgb(255, 255, 255); height: auto; flex-shrink: 10; border-top-width: 3px; border-right-width: 3px; border-bottom-width: 3px; border-left-width: 3px; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; padding-top: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px; 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); display: flex; margin-bottom: 0;">
<ui:Button text="" name="Level" class="row-btn" style="height: 80px; -unity-text-align: middle-right;">
<ui:DropdownField label="" choices="اختر فصل دراسي...,الفصل الدراسي الاول,الفصل الدراسي الثاني" index="0" language-direction="RTL" name="Term" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; font-size: 35px; -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(66, 66, 66); -unity-text-align: upper-right; flex-direction: row;"/>
</ui:Button>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="Home" style="flex-grow: 0; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;">
<ui:VisualElement name="ButtonsParent" style="flex-grow: 0; flex-direction: row; justify-content: space-between; flex-shrink: 0; height: 176px;">
<ui:VisualElement name="RegisterButtonShadow" style="flex-grow: 1; background-color: rgb(128, 183, 171); position: absolute; width: 100%; height: 100%; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; translate: 0% 14px; filter: blur(30); left: 0;"/>
<ui:Button text="تسجيل" name="RegisterButton" language-direction="RTL" 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; width: 100%; height: 100%; align-items: center; justify-content: center; flex-direction: row; -unity-font-definition: url(&quot;project://database/Assets/_project/Fonts/TS%20Hakwaty%20Bold.otf?fileID=12800000&amp;guid=62191f6d90aeccb4d896e29b4844ceaf&amp;type=3#TS Hakwaty Bold&quot;); font-size: 65px; color: rgb(255, 255, 255); -unity-text-generator: advanced;">
<ui:VisualElement name="Cir" style="flex-grow: 0; height: 250px; width: 250px; background-color: rgba(255, 255, 255, 0.05); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; position: absolute; translate: 112% -96px;">
<ui:VisualElement name="Cir" style="flex-grow: 0; height: 250px; width: 250px; background-color: rgba(255, 255, 255, 0.05); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; position: absolute; translate: 26% 62px;"/>
</ui:VisualElement>
</ui:Button>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="ButtonText" style="flex-grow: 1; flex-direction: row-reverse; margin-top: 75px; justify-content: center;">
<ui:Label text="لديك حساب بالفعل؟" class="text-bold" style="color: rgb(117, 117, 117); margin-left: 20px; font-size: 35px;"/>
<ui:Button text="تسجيل الدخول" name="OpenLoginPanel" class="loginPage-button-text" style="font-size: 35px;"/>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement template="Template" name="textField" style="margin-bottom: 50px;">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:VisualElement name="Text" style="flex-grow: 1; flex-direction: row-reverse;">
<ui:Label text="🎓 " name="TextFieldLabel" language-direction="RTL" class="emoji" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 40px; -unity-text-align: middle-right; margin-left: 5px;"/>
<ui:Label text="الفصل الدراسي" name="TextFieldLabel" language-direction="RTL" class="base-text-light" style="color: rgb(117, 117, 117); margin-bottom: 20px; font-size: 35px; -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;);"/>
</ui:ScrollView>
</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="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;"/>
<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 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: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:VisualElement>
</ui:VisualElement>
<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: 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: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px; 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; margin-bottom: 0;">
<ui:Button text="" name="Level" class="row-btn" style="height: 80px; -unity-text-align: middle-right;">
<ui:DropdownField label="" choices="اختر فصل دراسي...,الفصل الدراسي الاول,الفصل الدراسي الثاني" index="0" language-direction="RTL" name="Term" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; position: absolute; flex-grow: 0; font-size: 35px; -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(66, 66, 66); -unity-text-align: upper-right; flex-direction: row;"/>
</ui:Button>
<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: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:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:Button text="" name="Register" class="action-btn">
<ui:Label text="تسجيل " language-direction="RTL" name="RegisterLabel" class="text-bold-black" style="color: rgb(255, 255, 255); font-size: 55px;"/>
</ui:Button>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
<ui:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/AppUI/NewAppUI/USS/NewStyle.uss?fileID=7433441132597879392&amp;guid=c81297485ce529246b88d7955e887342&amp;type=3#NewStyle"/>
<ui:VisualElement name="Root" style="flex-grow: 1; background-color: rgb(238, 240, 248);">
<ui:VisualElement name="Body" style="flex-grow: 0; width: 300%; flex-direction: row; translate: -33.33% 0; height: 85%; transition-duration: 0.15s; transition-timing-function: ease;">
<Style src="project://database/Assets/AppUI/NewAppUI/USS/NewStyle.uss?fileID=7433441132597879392&amp;guid=c81297485ce529246b88d7955e887342&amp;type=3"/>
<ui:VisualElement name="Root" style="flex-grow: 1; background-color: rgb(238, 240, 248); display: flex;">
<ui:VisualElement name="Body" style="flex-grow: 0; width: 300%; flex-direction: row; translate: -33.333% 0; height: 90%; transition-duration: 0.15s; transition-timing-function: ease;">
<ui:VisualElement name="Settings" style="flex-grow: 0; width: 100%;">
<ui:ScrollView horizontal-scroller-visibility="Hidden" vertical-scroller-visibility="Hidden">
<ui:VisualElement name="Header" style="flex-grow: 0; height: 500px; background-color: rgb(7, 37, 55); border-bottom-right-radius: 75px; border-bottom-left-radius: 75px; justify-content: center;">
<ui:VisualElement name="PlayerDetails" style="flex-grow: 0; align-items: center; justify-content: flex-end; margin-bottom: 10px;">
<ui:VisualElement name="ProfileImage" style="flex-grow: 0; height: 200px; width: 200px; background-image: none; -unity-background-scale-mode: scale-to-fit; margin-left: 0; background-color: rgb(154, 130, 0); 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%;">
<ui:VisualElement name="Header" style="flex-grow: 0; height: auto; 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="ProfileImage" style="flex-grow: 0; height: 300px; width: 200px; background-image: none; -unity-background-scale-mode: scale-to-fit; margin-left: 0; background-color: rgb(154, 130, 0); 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/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_Character/UserPicture_01_Sample.png?fileID=2800000&amp;guid=358c17b4dd4c0461f8bcaf75f245f54e&amp;type=3#UserPicture_01_Sample&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="" class="edit-photo">
<ui:Label text="📷" class="emoji" style="font-size: 24px;"/>
<ui:Button text="" class="edit-photo" style="width: 80px; height: 80px;">
<ui:Label text="📷" class="emoji" style="font-size: 37px; translate: 0% -4px;"/>
</ui:Button>
</ui:VisualElement>
</ui:VisualElement>
<ui:Label text="عبد الرحمن" name="Username" class="text-bold-black" style="color: rgb(255, 255, 255);"/>
<ui:Label text="عبد الرحمن" name="Username" class="text-bold-black" style="color: rgb(255, 255, 255); font-size: 60px;"/>
</ui:VisualElement>
</ui:VisualElement>
<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: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; 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:Label text="✏️" name="icon" class="emoji" style="padding-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; font-size: 50px;"/>
</ui:VisualElement>
......@@ -97,29 +97,28 @@
<ui:Label text="&lt;" class="text-bold-black" style="position: absolute; left: 0;"/>
</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:Button text="" name="DeleteAccountButton" class="row-btn">
<ui:VisualElement style="flex-grow: 0; height: 100px; width: 100px; background-color: rgba(245, 3, 45, 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:VisualElement>
<ui:Label text="طلب حذف الحساب" class="text-bold-black" style="color: rgb(66, 66, 66);"/>
<ui:Label text="&lt;" class="text-bold-black" style="position: absolute; left: 0;"/>
</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="Menu">
<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:Button>
</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="Menu">
<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:Button>
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:ScrollView>
</ui:VisualElement>
<ui:VisualElement name="Home" style="flex-grow: 0; width: 100%;">
<ui:VisualElement name="Header" class="padding" style="flex-grow: 0; height: 18%; background-color: rgb(48, 48, 208); border-bottom-right-radius: 75px; border-bottom-left-radius: 75px; flex-direction: row-reverse; align-items: center;">
<ui:VisualElement name="ImageParent" style="flex-grow: 0; height: 140px; aspect-ratio: 1; background-color: rgba(0, 0, 0, 0.5); border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; translate: 0% 0;">
<ui:VisualElement style="flex-grow: 1; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Preview/071_Play_Type_01.png?fileID=2800000&amp;guid=a63048482b8d74732959d94c54bf15fa&amp;type=3#071_Play_Type_01&quot;); translate: 0% -10px; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; border-left-color: rgba(255, 255, 255, 0.7); border-right-color: rgba(255, 255, 255, 0.7); border-top-color: rgba(255, 255, 255, 0.7); border-bottom-color: rgba(255, 255, 255, 0.7); border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px;"/>
<ui:VisualElement name="Rank" style="flex-grow: 0; height: 50px; width: 50px; background-color: rgb(254, 215, 0); position: absolute; bottom: -10px; border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; border-left-color: rgb(255, 255, 255); border-right-color: rgb(255, 255, 255); border-top-color: rgb(255, 255, 255); border-bottom-color: rgb(255, 255, 255); border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px; left: -10px; overflow: hidden; align-items: center; justify-content: center;">
<ui:Image source="project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_ItemIcon_(OriginalSize)/itemicon_equipment_weapon_battle.png?fileID=2800000&amp;guid=69bb5c3ad6c164d4eb3ce2646e22eca6&amp;type=3#itemicon_equipment_weapon_battle" scale-mode="ScaleToFit" style="height: 30px; width: 30px;"/>
<ui:VisualElement name="Home" style="flex-grow: 0; width: 100%; overflow: hidden;">
<ui:VisualElement name="VFX" picking-mode="Ignore" style="flex-grow: 0; position: absolute; height: 100%; width: 100%; background-image: url(&quot;project://database/Assets/AppUI/NewAppUI/DotFloating.renderTexture?fileID=8400000&amp;guid=038b07559aa3b7c40aa0c6d6f3af26e6&amp;type=2#DotFloating&quot;);"/>
<ui:VisualElement name="Header" class="padding" style="flex-grow: 0; height: 18%; background-color: rgb(48, 48, 208); border-bottom-right-radius: 75px; border-bottom-left-radius: 75px; flex-direction: row-reverse; align-items: center; overflow: hidden;">
<ui:VisualElement name="ImageParent" style="flex-grow: 0; height: 165px; aspect-ratio: 1; background-color: rgba(0, 0, 0, 0.5); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; translate: 0% 0; width: 165px;">
<ui:VisualElement style="flex-grow: 1; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Preview/071_Play_Type_01.png?fileID=2800000&amp;guid=a63048482b8d74732959d94c54bf15fa&amp;type=3#071_Play_Type_01&quot;); translate: 0% -10px; border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; border-left-color: rgba(255, 255, 255, 0.7); border-right-color: rgba(255, 255, 255, 0.7); border-top-color: rgba(255, 255, 255, 0.7); border-bottom-color: rgba(255, 255, 255, 0.7); border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px;"/>
<ui:VisualElement name="Rank" style="flex-grow: 0; height: 65px; width: 65px; background-color: rgb(254, 215, 0); position: absolute; bottom: -10px; border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; border-left-color: rgb(255, 255, 255); border-right-color: rgb(255, 255, 255); border-top-color: rgb(255, 255, 255); border-bottom-color: rgb(255, 255, 255); border-top-width: 5px; border-right-width: 5px; border-bottom-width: 5px; border-left-width: 5px; left: -10px; overflow: hidden; align-items: center; justify-content: center; translate: 16% 0;">
<ui:Image source="project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_ItemIcon_(OriginalSize)/itemicon_equipment_weapon_battle.png?fileID=2800000&amp;guid=69bb5c3ad6c164d4eb3ce2646e22eca6&amp;type=3#itemicon_equipment_weapon_battle" scale-mode="ScaleToFit" style="height: 40px; width: 40px;"/>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="Text" style="flex-grow: 0; margin-right: 40px; justify-content: center; align-items: flex-end;">
......@@ -134,15 +133,19 @@
<ui:Label text="10,000XP" name="XP" class="text-bold-black"/>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="Contant" class="padding" style="flex-grow: 1; justify-content: space-between;">
<ui:VisualElement name="ADS" style="flex-grow: 0; height: 326px; flex-shrink: 0;">
<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: -143px; left: -135px;"/>
<ui:VisualElement name="Contant" class="padding" style="flex-grow: 1;">
<ui:VisualElement name="ADS" style="flex-grow: 0; height: 342px; flex-shrink: 1;">
<ui:VisualElement name="Shadow" style="flex-grow: 1; position: absolute; height: 100%; width: 100%; background-color: rgba(0, 0, 0, 0.33); border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; filter: blur(30); translate: 0% 0; visibility: visible;"/>
<ui:ScrollView horizontal-scroller-visibility="Hidden" vertical-scroller-visibility="Hidden" mode="Horizontal" name="AdsScrollView" style="flex-grow: 1;">
<ui:VisualElement name="ADS" style="flex-grow: 0; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Preview/070_Play_Type_01.png?fileID=2800000&amp;guid=83eee3f655e014187ae4b9d2defe0b22&amp;type=3#070_Play_Type_01&quot;); height: 100%; width: 100%; border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; flex-shrink: 0;"/>
<ui:VisualElement name="ADS" style="flex-grow: 0; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Preview/075_Play_Type_03.png?fileID=2800000&amp;guid=971841ac636ab4e57b20896b47003840&amp;type=3#075_Play_Type_03&quot;); height: 100%; width: 100%; border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; flex-shrink: 0;"/>
<ui:VisualElement name="ADS" style="flex-grow: 0; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Preview/077_Play_Boss_Effect.png?fileID=2800000&amp;guid=2cce71b5d0e524230915a6ee43376dca&amp;type=3#077_Play_Boss_Effect&quot;); height: 100%; width: 100%; border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; flex-shrink: 0;"/>
<ui:VisualElement name="ADS" style="flex-grow: 0; background-image: url(&quot;project://database/Assets/Art/ADS/470214549_461493806972656_2755652850105919883_n.png?fileID=2800000&amp;guid=de38527fb1e833e4db8c97fbbaa4ff6d&amp;type=3#470214549_461493806972656_2755652850105919883_n&quot;); height: 100%; width: 100%; border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; flex-shrink: 0; -unity-background-scale-mode: stretch-to-fill;"/>
<ui:VisualElement name="ADS" style="flex-grow: 0; background-image: url(&quot;project://database/Assets/Art/ADS/489692311_557015450765601_7507751220698272092_n.png?fileID=2800000&amp;guid=f997f736bacd98c4aacd8d3750bb5c38&amp;type=3#489692311_557015450765601_7507751220698272092_n&quot;); height: 100%; width: 100%; border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; flex-shrink: 0;"/>
<ui:VisualElement name="ADS" style="flex-grow: 0; background-image: url(&quot;project://database/Assets/Art/ADS/548039851_683097468157398_8416714537396642301_n.png?fileID=2800000&amp;guid=d12c9b1a138254946b5d69f86af530d0&amp;type=3#548039851_683097468157398_8416714537396642301_n&quot;); height: 100%; width: 100%; border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; flex-shrink: 0;"/>
<ui:VisualElement name="ADS" style="flex-grow: 0; background-image: url(&quot;project://database/Assets/Art/ADS/594020113_752672687866542_3779254108232932737_n.png?fileID=2800000&amp;guid=660a767e8b2178c4390e7aab91a500ec&amp;type=3#594020113_752672687866542_3779254108232932737_n&quot;); height: 100%; width: 100%; border-top-left-radius: 40px; border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-bottom-left-radius: 40px; flex-shrink: 0;"/>
</ui:ScrollView>
</ui:VisualElement>
<ui:VisualElement name="ButtonsParent" style="flex-grow: 0; margin-top: 75px; flex-direction: row-reverse; justify-content: space-between; margin-bottom: 75px; flex-shrink: 0;">
<ui:VisualElement name="ChallengeShadow" style="flex-grow: 1; background-color: rgba(254, 215, 0, 0.75); position: absolute; width: 47%; height: 500px; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; translate: 0% 14px; filter: blur(30);"/>
<ui:Button text="" name="Challenge" style="border-left-color: rgb(204, 172, 0); border-right-color: rgb(204, 172, 0); border-top-color: rgb(204, 172, 0); border-bottom-color: rgb(204, 172, 0); overflow: hidden;">
<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;">
......@@ -152,12 +155,13 @@
</ui:VisualElement>
</ui:VisualElement>
<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;"/>
<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: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="تنافس واربح!" 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:Button>
<ui:VisualElement name="OpenPracticeButtonShadow" style="flex-grow: 1; background-color: rgb(128, 183, 171); position: absolute; width: 47%; height: 500px; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px; translate: 0% 14px; filter: blur(30); 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;">
<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;">
......@@ -167,22 +171,25 @@
</ui:VisualElement>
</ui:VisualElement>
<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;"/>
<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: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="تعلم بالتدريب" 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:Button>
</ui:VisualElement>
<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;">
<ui:VisualElement name="Text" style="flex-grow: 0; flex-direction: row-reverse; margin-bottom: 20px;">
<ui:Label text="⚡" name="Emoji" class="emoji"/>
<ui:Label text="خبير" name="Rank" class="text-bold-black"/>
<ui:VisualElement name="XP" style="flex-grow: 1;">
<ui:Label text="800 / 1000XP" name="XPRankEnd" class="text-bold-black" style="color: rgb(48, 48, 208);"/>
<ui:VisualElement name="Rank" style="padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px;">
<ui:VisualElement name="RankShadow" class="padding" style="flex-grow: 0; background-color: rgba(67, 67, 67, 0.1); 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: 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); position: absolute; width: 100%; translate: 0% 12px; filter: blur(30);"/>
<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:Label text="⚡" name="Emoji" class="emoji" style="font-size: 52px;"/>
<ui:Label text="Master" name="Rank" class="text-bold-black"/>
<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:VisualElement>
</ui:VisualElement>
<CustomProgressBar name="NextRankProgressBar" fill-color="rgb(48, 48, 208)" background-color="rgb(232, 232, 244)" max-value="1" value="0.1"/>
</ui:VisualElement>
<CustomProgressBar name="NextRankProgressBar" fill-color="rgb(48, 48, 208)" background-color="rgb(232, 232, 244)" max-value="1" value="0.1"/>
</ui:VisualElement>
</ui:VisualElement>
<ui:ScrollView name="SelectGame" horizontal-scroller-visibility="Hidden" vertical-scroller-visibility="Hidden" style="height: 100%; width: 100%; flex-grow: 1; position: absolute; background-color: rgb(255, 255, 255); display: none; opacity: 0;">
......@@ -236,6 +243,7 @@
<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: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>
<ui:VisualElement name="LeaderBoardRoot" style="flex-grow: 0; width: 100%; height: 100%;">
<ui:VisualElement name="Top3" style="height: 847px; margin-bottom: 54px; flex-shrink: 0;">
......@@ -295,7 +303,7 @@
</ui:VisualElement>
</ui:VisualElement>
<ui:ScrollView name="Leaderboard" horizontal-scroller-visibility="Hidden" vertical-scroller-visibility="Hidden" style="flex-grow: 0;">
<ui:VisualElement name="Contant" class="padding" style="flex-grow: 1;">
<ui:VisualElement name="Contant" class="padding" style="flex-grow: 1; padding-top: 75px; padding-right: 75px; padding-bottom: 75px; padding-left: 75px; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0;">
<CustomLeaderboardSlot/>
<CustomLeaderboardSlot is-owner="true"/>
<CustomLeaderboardSlot/>
......@@ -305,28 +313,61 @@
</ui:ScrollView>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="Footer" style="flex-grow: 0; height: 15%; background-color: rgb(255, 255, 255); border-top-left-radius: 75px; border-top-right-radius: 75px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; border-top-width: 15px; border-left-color: rgba(0, 0, 0, 0.15); border-right-color: rgba(0, 0, 0, 0.15); border-top-color: rgba(0, 0, 0, 0.15); border-bottom-color: rgba(0, 0, 0, 0.15);">
<ui:VisualElement name="ButtonBackground" style="flex-grow: 0; position: absolute; height: 320px; width: 320px; background-color: rgb(254, 220, 32); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; align-self: center; border-top-width: 17px; border-right-width: 17px; border-bottom-width: 17px; border-left-width: 17px; 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); translate: 0% -8%; transition-duration: 0.1s; visibility: hidden;"/>
<ui:ToggleButtonGroup label="" name="ToggleButtonGroup" value="100">
<ui:VisualElement name="FooterShdow" style="flex-grow: 0; position: absolute; width: 100%; bottom: 0; background-color: rgba(0, 0, 0, 0.2); height: 10.3%; border-top-left-radius: 75px; border-top-right-radius: 75px; filter: blur(24.2);"/>
<ui:VisualElement name="Footer" style="flex-grow: 0; height: 10%; background-color: rgb(255, 255, 255); border-top-left-radius: 75px; border-top-right-radius: 75px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; border-top-width: 2px; border-left-color: rgba(0, 0, 0, 0.15); border-right-color: rgba(0, 0, 0, 0.15); border-top-color: rgba(0, 0, 0, 0.15); border-bottom-color: rgba(0, 0, 0, 0.15); display: flex;">
<ui:VisualElement name="ButtonBackground" style="flex-grow: 0; position: absolute; height: 100%; width: 320px; background-color: rgb(254, 220, 32); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; align-self: center; border-top-width: 17px; border-right-width: 17px; border-bottom-width: 17px; border-left-width: 17px; 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); translate: 0% -8%; transition-duration: 0.1s; visibility: hidden; display: flex;"/>
<ui:ToggleButtonGroup label="" name="ToggleButtonGroup" value="010" style="display: flex;">
<ui:Button name="Button">
<ui:VisualElement style="flex-grow: 1; justify-content: 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;"/>
<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;"/>
<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" 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: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;">
<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;"/>
<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;"/>
<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" 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:Button>
<ui:Button name="Button">
<ui:VisualElement style="flex-grow: 1; justify-content: 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;"/>
<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;"/>
<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" 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:Button>
</ui:ToggleButtonGroup>
</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="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: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="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:VisualElement>
<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: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="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;"/>
<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 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: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:VisualElement>
</ui:VisualElement>
<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: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:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
......@@ -149,6 +149,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 545920730}
- {fileID: 1311728068}
m_Father: {fileID: 1628372281}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &545920729
......@@ -394,7 +395,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!114 &1093642341
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -423,6 +424,51 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1311728067
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1311728068}
- component: {fileID: 1311728069}
m_Layer: 0
m_Name: _showUIMessage
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1311728068
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1311728067}
serializedVersion: 2
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: 334107210}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1311728069
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1311728067}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 42d332574029f664b90d64379d0bea9b, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::ShowUIMessage
UIDocument: {fileID: 1971829438}
--- !u!1 &1536960804
GameObject:
m_ObjectHideFlags: 0
......
......@@ -119,6 +119,340 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &107187484
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 107187485}
m_Layer: 0
m_Name: '------ VFX ------ '
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &107187485
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 107187484}
serializedVersion: 2
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: 111992662}
m_Father: {fileID: 2035341440}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &111992661
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 107187485}
m_Modifications:
- target: {fileID: 3062164300472580502, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: m_RenderingLayerMask
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3062164300472580502, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 8d3be7b74902ce24aa88220e750fe81d, type: 2}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ShapeModule.type
value: 5
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: NoiseModule.enabled
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: NoiseModule.frequency
value: 0.0001
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ShapeModule.m_Scale.x
value: 10
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ShapeModule.m_Scale.y
value: 10
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ShapeModule.m_Scale.z
value: 10
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: NoiseModule.strength.scalar
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ShapeModule.radiusThickness
value: 1.0000
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: InitialModule.startSize.scalar
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: NoiseModule.scrollSpeed.scalar
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: InitialModule.startSpeed.scalar
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: InitialModule.startLifetime.scalar
value: 2
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: InitialModule.startColor.maxColor.b
value: 0.92941177
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: InitialModule.startColor.maxColor.g
value: 0.8666667
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: InitialModule.startColor.maxColor.r
value: 0.84705883
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.atime1
value: 3855
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.atime2
value: 60331
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.atime4
value: 65535
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.ctime1
value: 4241
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.ctime2
value: 59367
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.ctime3
value: 65535
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key0.b
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key0.g
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key0.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key1.b
value: 0.92941177
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key1.g
value: 0.8666667
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key1.r
value: 0.84705883
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key2.b
value: 0.92941177
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key2.g
value: 0.8666667
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key2.r
value: 0.84705883
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key3.b
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key3.g
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key3.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key4.a
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorModule.gradient.maxGradient.m_ColorSpace
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.atime1
value: 3855
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.atime2
value: 60331
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.atime3
value: 65535
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.atime4
value: 65535
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.ctime1
value: 4241
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.ctime2
value: 59367
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.ctime3
value: 65535
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.key0.a
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.key1.b
value: 0.92941177
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.key1.g
value: 0.8666667
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.key1.r
value: 0.84705883
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.key2.a
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.key2.b
value: 0.92941177
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.key2.g
value: 0.8666667
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.key2.r
value: 0.84705883
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.key3.b
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.key3.g
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.key3.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.key4.a
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.m_ColorSpace
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.m_NumAlphaKeys
value: 4
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: ColorBySpeedModule.gradient.maxGradient.m_NumColorKeys
value: 4
objectReference: {fileID: 0}
- target: {fileID: 6955428004947038011, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6955428004947038011, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6955428004947038011, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6955428004947038011, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6955428004947038011, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6955428004947038011, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6955428004947038011, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6955428004947038011, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6955428004947038011, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6955428004947038011, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8015466945648444578, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: m_Name
value: DotFloating
objectReference: {fileID: 0}
- target: {fileID: 8015466945648444578, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
propertyPath: m_Layer
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
--- !u!4 &111992662 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6955428004947038011, guid: 6b616f783aad2ab4a81fd452786f2041, type: 3}
m_PrefabInstance: {fileID: 111992661}
m_PrefabAsset: {fileID: 0}
--- !u!1 &652396693
GameObject:
m_ObjectHideFlags: 0
......@@ -152,6 +486,7 @@ Transform:
- {fileID: 1841206267}
- {fileID: 803660555}
- {fileID: 1154832527}
- {fileID: 1364366237}
m_Father: {fileID: 2035341440}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &659928730
......@@ -321,6 +656,134 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::MainmenuAnimation
mainMenu: {fileID: 1455761156}
--- !u!1 &1052780136
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1052780137}
- component: {fileID: 1052780140}
- component: {fileID: 1052780138}
m_Layer: 0
m_Name: VFX
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1052780137
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1052780136}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2035341440}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1052780138
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1052780136}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.UniversalAdditionalCameraData
m_RenderShadows: 1
m_RequiresDepthTextureOption: 2
m_RequiresOpaqueTextureOption: 2
m_CameraType: 0
m_Cameras: []
m_RendererIndex: -1
m_VolumeLayerMask:
serializedVersion: 2
m_Bits: 1
m_VolumeTrigger: {fileID: 0}
m_VolumeFrameworkUpdateModeOption: 2
m_RenderPostProcessing: 0
m_Antialiasing: 0
m_AntialiasingQuality: 2
m_StopNaN: 0
m_Dithering: 0
m_ClearDepth: 1
m_AllowXRRendering: 1
m_AllowHDROutput: 1
m_UseScreenCoordOverride: 0
m_ScreenSizeOverride: {x: 0, y: 0, z: 0, w: 0}
m_ScreenCoordScaleBias: {x: 0, y: 0, z: 0, w: 0}
m_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_TaaSettings:
m_Quality: 3
m_FrameInfluence: 0.1
m_JitterScale: 1
m_MipBias: 0
m_VarianceClampScale: 0.9
m_ContrastAdaptiveSharpening: 0
m_Version: 2
--- !u!20 &1052780140
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1052780136}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 2
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_Iso: 200
m_ShutterSpeed: 0.005
m_Aperture: 16
m_FocusDistance: 10
m_FocalLength: 50
m_BladeCount: 5
m_Curvature: {x: 2, y: 11}
m_BarrelClipping: 0.25
m_Anamorphism: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 8400000, guid: 038b07559aa3b7c40aa0c6d6f3af26e6, type: 2}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!1 &1154832526
GameObject:
m_ObjectHideFlags: 0
......@@ -445,6 +908,51 @@ MonoBehaviour:
m_FirstSelected: {fileID: 0}
m_sendNavigationEvents: 1
m_DragThreshold: 10
--- !u!1 &1364366236
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1364366237}
- component: {fileID: 1364366238}
m_Layer: 0
m_Name: _showUIMessage
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1364366237
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1364366236}
serializedVersion: 2
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: 652396694}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1364366238
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1364366236}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 42d332574029f664b90d64379d0bea9b, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::ShowUIMessage
UIDocument: {fileID: 1455761156}
--- !u!1 &1450206973
GameObject:
m_ObjectHideFlags: 0
......@@ -670,7 +1178,7 @@ Camera:
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_Bits: 55
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
......@@ -759,8 +1267,10 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1604374381}
- {fileID: 1052780137}
- {fileID: 652396694}
- {fileID: 659928731}
- {fileID: 107187485}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1660057539 &9223372036854775807
......
......@@ -73,6 +73,10 @@
padding-left: 0;
width: 100%;
overflow: visible;
justify-content: center;
align-self: center;
align-content: center;
align-items: center;
}
#Footer #unity-toggle-button-group__container {
......@@ -80,6 +84,9 @@
height: 100%;
width: 100%;
overflow: visible;
align-self: center;
justify-content: center;
align-content: center;
}
#Footer Button {
......@@ -102,6 +109,7 @@
transition-duration: 0.15s;
scale: 0.8 0.8 0.8;
filter: grayscale(1);
transition-timing-function: ease-out-back;
}
#Footer Button:selected {
......@@ -115,12 +123,12 @@
}
#Footer Button Label {
font-size: 50px;
font-size: 38px;
color: rgb(128, 128, 128);
}
#Footer Button #Icon {
font-size: 120px;
font-size: 75px;
-unity-font-definition: url("project://database/Assets/AppUI/NewAppUI/Segoe%20UI%20Emoji%20Regular.ttf?fileID=12800000&guid=e4a35873663d3d34ebd9c92e51dbbe46&type=3#Segoe UI Emoji Regular");
}
......@@ -131,7 +139,7 @@
padding-left: 75px;
}
#Body #Home #Contant #ButtonsParent Button {
#Home #ButtonsParent Button {
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
......@@ -154,10 +162,11 @@
transition-duration: 0.05s;
}
#Body #Home #Contant #ButtonsParent Button:active {
#Home #ButtonsParent Button:active {
border-bottom-width: 5px;
translate: 0% 10px;
transition-duration: 0.1s;
transition-timing-function: ease;
}
#Body #Home #Rank #CustomProgressBar #Text {
......@@ -487,3 +496,43 @@
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
#Name #unity-text-input {
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
}
#SelectGame #unity-content-and-vertical-scroll-container {
flex-grow: 0;
height: auto;
}
.loginPage-button-text {
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
background-color: rgba(17, 12, 12, 0);
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
color: rgb(48, 48, 208);
-unity-font-definition: url("project://database/Assets/_project/Fonts/TS%20Hakwaty%20Bold.otf?fileID=12800000&guid=62191f6d90aeccb4d896e29b4844ceaf&type=3#TS Hakwaty Bold");
-unity-text-generator: advanced;
font-size: 50px;
}
.loginPage-button-text:active {
opacity: 0.75;
}
using System;
using UnityEngine;
using UnityEngine.UIElements;
......@@ -5,16 +6,389 @@ public class LoginPageAnimation : MonoBehaviour
{
[SerializeField] UIDocument loginPage;
VisualElement ContantPanel;
private bool isComingFromGuestModel = false;
Button guestModeButton;
void Start()
{
ContantPanel = loginPage.rootVisualElement.Q<VisualElement>("ContantPanel");
PlayerPrefs.SetInt("IsGuest", 0);
ContantPanel.schedule.Execute(() =>
if (Application.internetReachability == NetworkReachability.NotReachable)
{
ContantPanel.style.translate = new StyleTranslate(new Translate(0, 0));
}).StartingIn(200);
ShowUIMessage.Instance.ShowMessage("يرجي الأتصال بالإنترنت وأعد المحاولة", true);
return;
}
HanleSwitchPanel();
HandleGuestMode();
HandleLogin();
HandleRegister();
CheckAndHandleIfComingFromGuest();
}
private void CheckAndHandleIfComingFromGuest()
{
if (UserService.Instance.CurrentUser == null || !SupabaseManager.Instance.Supabase().Auth.CurrentUser.IsAnonymous)
return;
isComingFromGuestModel = true;
VisualElement ParentPanel = loginPage.rootVisualElement.Q<VisualElement>("Root");
ParentPanel.style.translate = new StyleTranslate(new Translate(new Length(-50, LengthUnit.Percent), 0));
HideInput(true);
// Fill the fields with the guest user's data
var currentUser = UserService.Instance.CurrentUser;
var usernameField = loginPage.rootVisualElement.Q<VisualElement>("Register").Q<TextField>("Username");
usernameField.value = currentUser.Username;
var sexField = loginPage.rootVisualElement.Q<DropdownField>("Sex").value = currentUser.Sex;
var curriculumField = loginPage.rootVisualElement.Q<DropdownField>("Curriculum").value = EducationManager.GetCurriculumName(currentUser.Curriculum);
var termField = loginPage.rootVisualElement.Q<DropdownField>("Term").value = EducationManager.GetTermName(currentUser.Term);
var gradeField = loginPage.rootVisualElement.Q<DropdownField>("Grade").value = EducationManager.GetGradeName(currentUser.Grade);
}
private void HanleSwitchPanel()
{
Button openRegisterPanel = loginPage.rootVisualElement.Q<Button>("OpenRegisterPanel");
Button openLoginPanel = loginPage.rootVisualElement.Q<Button>("OpenLoginPanel");
guestModeButton = loginPage.rootVisualElement.Q<Button>("GuestModeButton");
VisualElement ParentPanel = loginPage.rootVisualElement.Q<VisualElement>("Root");
openRegisterPanel.clicked += () =>
{
ParentPanel.style.translate = new StyleTranslate(new Translate(new Length(-50, LengthUnit.Percent), 0));
HideInput(true);
};
guestModeButton.clicked += () =>
{
ParentPanel.style.translate = new StyleTranslate(new Translate(new Length(-50, LengthUnit.Percent), 0));
HideInput(false);
};
openLoginPanel.clicked += () =>
{
ParentPanel.style.translate = new StyleTranslate(new Translate(0, 0));
PlayerPrefs.SetInt("IsGuest", 0);
};
}
private async void HandleLogin()
{
Button loginButton = loginPage.rootVisualElement.Q<Button>("LoginButton");
loginButton.clicked += async () =>
{
TextField email = loginPage.rootVisualElement.Q<VisualElement>("Login").Q<TextField>("Email");
TextField password = loginPage.rootVisualElement.Q<VisualElement>("Login").Q<TextField>("Password");
loginButton.SetEnabled(false);
loginButton.text = "جاري الدخول...";
if (string.IsNullOrEmpty(email.text))
{
ShowUIMessage.Instance.ShowMessage("يرجي أدخال البريد الألكتروني");
loginButton.SetEnabled(true);
loginButton.text = "تسجيل الدخول";
return;
}
if (string.IsNullOrEmpty(password.text))
{
ShowUIMessage.Instance.ShowMessage("يرجي أدخال كلمة المرور");
loginButton.SetEnabled(true);
loginButton.text = "تسجيل الدخول";
return;
}
var result = await SupabaseAuthentication.Instance.LogIn(email.text, password.text);
result.Switch(
async success =>
{
var result = await UserService.Instance.GetCurrentUser();
result.Switch(
success =>
{
AppRouter.GoToHome();
},
error =>
{
ShowUIMessage.Instance.ShowMessage("فشل جلب بيانات المستخدم، يرجى المحاولة مرة أخرى");
loginButton.SetEnabled(true);
loginButton.text = "تسجيل الدخول";
}
);
},
error =>
{
ShowUIMessage.Instance.ShowMessage("فشل تسجيل الدخول، يرجى التحقق من البريد الإلكتروني وكلمة المرور");
loginButton.SetEnabled(true);
loginButton.text = "تسجيل الدخول";
}
);
};
}
private void HandleRegister()
{
Button registerButton = loginPage.rootVisualElement.Q<Button>("RegisterButton");
registerButton.clicked += async () =>
{
registerButton.SetEnabled(false);
registerButton.text = "جاري التسجيل...";
var registerRoot = loginPage.rootVisualElement.Q<VisualElement>("Register");
if (PlayerPrefs.GetInt("IsGuest") == 0)
{
var Username = registerRoot.Q<TextField>("Username").text;
if (ShowErrorIfEmpty(Username, "اسم المستخدم"))
{
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
return;
}
var email = registerRoot.Q<TextField>("Email").text;
if (ShowErrorIfEmpty(email, "البريد الألكتروني"))
{
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
return;
}
var password = registerRoot.Q<TextField>("Password").text;
if (ShowErrorIfEmpty(password, "كلمة المرور"))
{
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
return;
}
var rePassword = registerRoot.Q<TextField>("RePassword").text;
if (ShowErrorIfEmpty(rePassword, "تأكيد كلمة المرور"))
{
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
return;
}
var sex = registerRoot.Q<DropdownField>("Sex").value;
if (ShowErrorIfEmpty(sex, "النوع"))
{
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
return;
}
var curriculum = registerRoot.Q<DropdownField>("Curriculum").value;
if (ShowErrorIfEmpty(curriculum, "المنهج"))
{
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
return;
}
var term = registerRoot.Q<DropdownField>("Term").value;
if (ShowErrorIfEmpty(term, "المرحلة"))
{
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
return;
}
var grade = registerRoot.Q<DropdownField>("Grade").value;
if (ShowErrorIfEmpty(grade, "الصف"))
{
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
return;
}
if (isComingFromGuestModel)
{
var convertedOrError = await SupabaseAuthentication.Instance.ConvertGuestToEmail(email.Trim(), password);
convertedOrError.Switch(
async success =>
{
var userUpdated = await UserService.Instance.UpdateProfile(
username: Username,
grade: EducationManager.GetGradeId(grade),
term: EducationManager.GetTermId(term),
curriculum: EducationManager.GetCurriculumId(curriculum),
email: email.Trim()
);
userUpdated.Switch(
success =>
{
AppRouter.GoToHome();
},
error =>
{
ShowUIMessage.Instance.ShowMessage("فشل تحديث بيانات المستخدم، يرجى المحاولة مرة أخرى");
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
}
);
},
error =>
{
ShowUIMessage.Instance.ShowMessage("فشل إنشاء الحساب، يرجى المحاولة مرة أخرى");
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
}
);
return;
}
var result = await SupabaseAuthentication.Instance.SignUp(email.Trim(), password, Username);
result.Switch(
async success =>
{
var result = await UserService.Instance.CreateProfile(username: Username, grade: EducationManager.GetGradeId(grade), sex: sex, curriculum: EducationManager.GetCurriculumId(curriculum), term: EducationManager.GetTermId(term), email: email.Trim());
result.Switch(
success =>
{
AppRouter.GoToHome();
},
error =>
{
ShowUIMessage.Instance.ShowMessage("فشل إنشاء الحساب، يرجى المحاولة مرة أخرى");
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
}
);
},
error =>
{
Debug.LogError("Registration error: " + error);
ShowUIMessage.Instance.ShowMessage("فشل إنشاء الحساب، يرجى المحاولة مرة أخرى");
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
}
);
}
else
{
var Username = registerRoot.Q<TextField>("Username").text;
if (ShowErrorIfEmpty(Username, "اسم المستخدم"))
{
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
return;
}
var sex = registerRoot.Q<DropdownField>("Sex").value;
if (ShowErrorIfEmpty(sex, "النوع"))
{
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
return;
}
var curriculum = registerRoot.Q<DropdownField>("Curriculum").value;
if (ShowErrorIfEmpty(curriculum, "المنهج"))
{
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
return;
}
var term = registerRoot.Q<DropdownField>("Term").value;
if (ShowErrorIfEmpty(term, "المرحلة"))
{
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
return;
}
var grade = registerRoot.Q<DropdownField>("Grade").value;
if (ShowErrorIfEmpty(grade, "الصف"))
{
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
return;
}
var result = await SupabaseAuthentication.Instance.LoginAnon();
result.Switch(
async success =>
{
var result = await UserService.Instance.CreateProfile(username: Username, grade: EducationManager.GetGradeId(grade), sex: sex, curriculum: EducationManager.GetCurriculumId(curriculum), term: EducationManager.GetTermId(term));
result.Switch(
success =>
{
AppRouter.GoToHome();
},
error =>
{
ShowUIMessage.Instance.ShowMessage("فشل إنشاء الحساب، يرجى المحاولة مرة أخرى");
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
}
);
},
error =>
{
Debug.LogError("Registration error: " + error);
ShowUIMessage.Instance.ShowMessage("فشل إنشاء الحساب، يرجى المحاولة مرة أخرى");
registerButton.SetEnabled(true);
registerButton.text = "تسجيل";
}
);
}
};
}
private void HandleGuestMode()
{
guestModeButton.clicked += () =>
{
PlayerPrefs.SetInt("IsGuest", 1);
// code for Guest Mode
};
}
private bool ShowErrorIfEmpty(string content, string fieldName)
{
if (string.IsNullOrEmpty(content))
{
ShowUIMessage.Instance.ShowMessage($"يرجي أدخال {fieldName}");
}
return string.IsNullOrEmpty(content);
}
void HideInput(bool status)
{
Debug.Log(status);
VisualElement Email = loginPage.rootVisualElement.Q<ScrollView>("Register").Q<VisualElement>("Email");
VisualElement Password = loginPage.rootVisualElement.Q<ScrollView>("Register").Q<VisualElement>("Password");
VisualElement RePassword = loginPage.rootVisualElement.Q<ScrollView>("Register").Q<VisualElement>("RePassword");
Email.style.display = status ? DisplayStyle.Flex : DisplayStyle.None;
Password.style.display = status ? DisplayStyle.Flex : DisplayStyle.None;
RePassword.style.display = status ? DisplayStyle.Flex : DisplayStyle.None;
}
}
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UIElements;
......@@ -10,7 +9,6 @@ public class MainmenuAnimation : MonoBehaviour
ToggleButtonGroup _footerToggleButtonGroup;
VisualElement _bodyPanel;
VisualElement menuPanel;
void Start()
{
......@@ -23,7 +21,7 @@ public class MainmenuAnimation : MonoBehaviour
HandleADS();
//HandleNotifications();
HandleRemoveAccount();
}
List<VisualElement> ADS = new();
......@@ -198,44 +196,52 @@ public class MainmenuAnimation : MonoBehaviour
Application.OpenURL("https://sciencestreetlab.com/sciencestreet-challge-app-terms-services/");
};
Button deleteAccount = mainMenu.rootVisualElement.Q<Button>("DeleteAccountButton");
deleteAccount.clicked += () =>
{
Application.OpenURL("https://sciencestreetlab.com/sciencestreet-challenge-delete-account/");
};
}
#endregion
#region Notifications
private void HandleNotifications()
#region RemoveAccount
private void HandleRemoveAccount()
{
VisualElement notificationsPanel = mainMenu.rootVisualElement.Q<VisualElement>("NotificationsPanel");
VisualElement removeAccountPanel = mainMenu.rootVisualElement.Q<VisualElement>("RemoveAccountPanel");
Button openNotificationsButton = mainMenu.rootVisualElement.Q<Button>("OpenNotificationsButton");
Button closeNotificationsButton = mainMenu.rootVisualElement.Q<Button>("CloseNotificationsButton");
Button openRemoveAccountPanel = mainMenu.rootVisualElement.Q<Button>("OpenRemoveAccountPanel");
Button closeRemoveAccountPanel = mainMenu.rootVisualElement.Q<Button>("CloseRemoveAccountPanel");
openNotificationsButton.clicked += () =>
openRemoveAccountPanel.clicked += () =>
{
notificationsPanel.style.display = DisplayStyle.Flex;
notificationsPanel.experimental.animation.Start(0, 1, 200, (v, t) =>
removeAccountPanel.style.display = DisplayStyle.Flex;
removeAccountPanel.experimental.animation.Start(0, 1, 200, (v, t) =>
{
notificationsPanel.style.opacity = t;
removeAccountPanel.style.opacity = t;
});
};
closeNotificationsButton.clicked += () =>
closeRemoveAccountPanel.clicked += () =>
{
notificationsPanel.experimental.animation.Start(1, 0, 200, (v, t) =>
removeAccountPanel.experimental.animation.Start(1, 0, 200, (v, t) =>
{
notificationsPanel.style.opacity = t;
removeAccountPanel.style.opacity = t;
}).OnCompleted(() =>
{
notificationsPanel.style.display = DisplayStyle.None;
removeAccountPanel.style.display = DisplayStyle.None;
});
};
Button removeAccount = removeAccountPanel.Q<Button>("Sure");
removeAccount.clicked += () => Remove(closeRemoveAccountPanel, removeAccount);
}
#endregion
private void Remove(Button closeRemoveAccountPanel, Button removeAccount)
{
closeRemoveAccountPanel.SetEnabled(false);
removeAccount.SetEnabled(false);
removeAccount.text = "جاري...";
}
}
using System;
using UnityEngine;
using UnityEngine.UIElements;
public class ShowUIMessage : MonoBehaviour
{
public static ShowUIMessage Instance { get; private set; }
[SerializeField] UIDocument UIDocument;
VisualElement messagePanel;
Label messageLabel;
Button closeMessagePanelButton;
VisualElement backToHomeParent;
Button backToHomeButton;
private void Awake()
{
if (Instance == null)
{
Instance = this;
}
else
{
Destroy(this);
}
}
void Start()
{
messagePanel = UIDocument.rootVisualElement.Q<VisualElement>("MessagePanel");
messageLabel = messagePanel.Q<Label>("MessageLabel");
closeMessagePanelButton = messagePanel.Q<Button>("CloseMessagePanelButton");
backToHomeParent = messagePanel.Q<VisualElement>("BackToHome");
backToHomeButton = messagePanel.Q<Button>("BackToHomeButton");
closeMessagePanelButton.clicked += () =>
{
messagePanel.experimental.animation.Start(1, 0, 200, (v, t) =>
{
messagePanel.style.opacity = t;
}).OnCompleted(() =>
{
messagePanel.style.display = DisplayStyle.None;
});
};
}
public void ShowMessage(string message, bool ShowBackButton = false)
{
messagePanel.style.display = DisplayStyle.Flex;
messagePanel.experimental.animation.Start(0, 1, 200, (v, t) =>
{
messagePanel.style.opacity = t;
});
messageLabel.text = message;
backToHomeParent.style.display = ShowBackButton ? DisplayStyle.Flex : DisplayStyle.None;
backToHomeButton.clicked += () =>
{
AppRouter.GoToLogin();
};
}
private void BackToHome()
{
Debug.Log("Back To Home");
}
}
fileFormatVersion: 2
guid: 42d332574029f664b90d64379d0bea9b
\ No newline at end of file
fileFormatVersion: 2
guid: 309605c5324eb484d986b6b1292a0c92
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: de38527fb1e833e4db8c97fbbaa4ff6d
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: WindowsStoreApps
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
customData:
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: f997f736bacd98c4aacd8d3750bb5c38
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: WindowsStoreApps
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
customData:
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: d12c9b1a138254946b5d69f86af530d0
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: WindowsStoreApps
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
customData:
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 660a767e8b2178c4390e7aab91a500ec
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: WindowsStoreApps
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
customData:
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-4360171925705036856
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_sprite 2
m_Shader: {fileID: 10720, guid: 0000000000000000f000000000000000, type: 0}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords:
- _ALPHATEST_ON
m_LightmapFlags: 0
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 47edf6b2073a99a4d90fe2957b263012, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AlphaClip: 0
- _AlphaToMask: 0
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BlendOp: 0
- _BumpScale: 1
- _CameraFadingEnabled: 0
- _CameraFarFadeDistance: 2
- _CameraNearFadeDistance: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _ColorMode: 0
- _Cull: 2
- _Cutoff: 0.343
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DistortionBlend: 0.5
- _DistortionEnabled: 0
- _DistortionStrength: 1
- _DistortionStrengthScaled: 0
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EmissionEnabled: 0
- _EnvironmentReflections: 1
- _FlipbookMode: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _LightingEnabled: 0
- _Metallic: 0
- _Mode: 1
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
- _SoftParticlesFarFadeDistance: 1
- _SoftParticlesNearFadeDistance: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Surface: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0}
- _Color: {r: 0.8069525, g: 0.8307701, b: 0.9646866, a: 1}
- _ColorAddSubDiff: {r: 1, g: 0, b: 0, a: 0}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1
fileFormatVersion: 2
guid: 8d3be7b74902ce24aa88220e750fe81d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
......@@ -152,3 +152,4 @@ Material:
- _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1
<ui:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/AppUI/UIToolkit/USS/Style.uss?fileID=7433441132597879392&amp;guid=f90ac983f14f5f043a3437b2c294db62&amp;type=3#Style"/>
<ui:Button text="" name="Player" class="menu-button" style="margin-top: 40px;">
<ui:Button text="" name="Player" class="menu-button" style="margin-top: 40px; margin-right: 75px; margin-left: 75px;">
<ui:VisualElement name="Padding" class="padding" style="flex-grow: 1; flex-direction: row-reverse; align-items: center; background-color: rgb(255, 255, 255); padding-top: 25px; padding-bottom: 25px; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; border-top-width: 0; border-right-width: 0; border-bottom-width: 10px; border-left-width: 0; 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);">
<ui:Label text="1" name="IndexLabel" class="base-text-bold" style="color: rgb(158, 158, 158); font-size: 34px; margin-left: 5px; width: 60px;"/>
<ui:VisualElement name="PlayerImage" style="flex-grow: 0; height: 125px; width: 125px; background-image: url(&quot;project://database/Assets/GUI%20PRO%20Kit%20-%20Simple%20Casual/Sprite/Demo/Demo_Character/UserPicture_01_Sample.png?fileID=2800000&amp;guid=358c17b4dd4c0461f8bcaf75f245f54e&amp;type=3#UserPicture_01_Sample&quot;); -unity-background-scale-mode: scale-to-fit; margin-left: 35px; background-color: rgb(209, 209, 209); border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%;"/>
......
......@@ -111,6 +111,7 @@ namespace com.al_arcade.mcq
private void Start()
{
Application.targetFrameRate = 60;
Instance = this;
if (arabicFont != null) SSFontManager.Font = arabicFont;
StartCoroutine(BuildEverything());
......
......@@ -12,6 +12,9 @@
background-color: rgba(0.4156863, 0.372549, 0.9607844, 1);
border-bottom-right-radius: 25px;
border-bottom-left-radius: 25px;
width: 400px;
translate: -15% 0;
}
.unity-base-dropdown .unity-base-dropdown__container-outer{
border-top-width: 0;
......
......@@ -33,58 +33,42 @@ MonoBehaviour:
m_Settings:
m_SettingsList:
m_List:
- rid: 1321912066682388548
- rid: 1321912066682388549
- rid: 1321912066682388550
- rid: 5227943654909018112
- rid: 1321912066682388552
- rid: 1321912066682388553
- rid: 1321912066682388554
- rid: 1321912066682388555
- rid: 1321912066682388556
- rid: 1321912066682388557
- rid: 1321912066682388558
- rid: 1321912066682388559
- rid: 1321912066682388560
- rid: 1321912066682388561
- rid: 1321912066682388562
- rid: 1321912066682388563
- rid: 1321912066682388564
- rid: 1321912066682388565
- rid: 1321912066682388566
- rid: 1321912066682388567
- rid: 1321912066682388568
- rid: 1321912066682388569
- rid: 1321912066682388570
- rid: 1321912066682388571
- rid: 1321912066682388572
- rid: 1321912066682388573
- rid: 1321912066682388574
- rid: 1321912066682388575
- rid: 1321912066682388576
- rid: 1321912066682388577
- rid: 1321912066682388578
- rid: 1321912066682388579
- rid: 5240940957688397888
- rid: 5240940957688397889
- rid: 2049716455606583296
- rid: 2049716455606583297
- rid: 2049716455606583298
- rid: 2049716455606583299
- rid: 2049716455606583300
- rid: 2049716455606583301
- rid: 2049716455606583302
- rid: 2049716455606583303
- rid: 2049716455606583304
- rid: 2049716455606583305
- rid: 2049716455606583306
- rid: 2049716455606583307
- rid: 2049716455606583308
- rid: 2049716455606583309
- rid: 2049716455606583310
- rid: 2049716455606583311
- rid: 2049716455606583312
- rid: 2049716455606583313
- rid: 2049716455606583314
- rid: 2049716455606583315
- rid: 2049716455606583316
- rid: 2049716455606583317
- rid: 2049716455606583318
- rid: 2049716455606583319
- rid: 2049716455606583320
- rid: 2049716455606583321
- rid: 2049716455606583322
- rid: 2049716455606583323
- rid: 2049716455606583324
- rid: 2049716455606583325
- rid: 2049716455606583326
- rid: 2049716455606583327
- rid: 4850213259033706766
- rid: 4850213259033706767
m_RuntimeSettings:
m_List:
- rid: 1321912066682388550
- rid: 5227943654909018112
- rid: 1321912066682388552
- rid: 1321912066682388554
- rid: 1321912066682388556
- rid: 1321912066682388558
- rid: 1321912066682388559
- rid: 1321912066682388560
- rid: 1321912066682388561
- rid: 1321912066682388562
- rid: 1321912066682388568
- rid: 1321912066682388569
- rid: 1321912066682388570
- rid: 1321912066682388573
- rid: 1321912066682388574
- rid: 5240940957688397889
m_List: []
m_AssetVersion: 10
m_ObsoleteDefaultVolumeProfile: {fileID: 0}
m_RenderingLayerNames:
......@@ -108,7 +92,7 @@ MonoBehaviour:
references:
version: 2
RefIds:
- rid: 1321912066682388548
- rid: 2049716455606583296
type: {class: RayTracingRenderPipelineResources, ns: UnityEngine.Rendering.UnifiedRayTracing, asm: Unity.UnifiedRayTracing.Runtime}
data:
m_Version: 1
......@@ -121,7 +105,7 @@ MonoBehaviour:
m_BuildHlbvh: {fileID: 7200000, guid: 2d70cd6be91bd7843a39a54b51c15b13, type: 3}
m_RestructureBvh: {fileID: 7200000, guid: 56641cb88dcb31a4398a4997ef7a7a8c, type: 3}
m_Scatter: {fileID: 7200000, guid: a2eaeefdac4637a44b734e85b7be9186, type: 3}
- rid: 1321912066682388549
- rid: 2049716455606583297
type: {class: Renderer2DResources, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Version: 0
......@@ -136,7 +120,7 @@ MonoBehaviour:
m_DefaultUnlitMaterial: {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2}
m_DefaultMaskMaterial: {fileID: 2100000, guid: 15d0c3709176029428a0da2f8cecf0b5, type: 2}
m_DefaultMesh2DLitMaterial: {fileID: 2100000, guid: 9452ae1262a74094f8a68013fbcd1834, type: 2}
- rid: 1321912066682388550
- rid: 2049716455606583298
type: {class: UniversalRenderPipelineRuntimeShaders, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Version: 0
......@@ -145,16 +129,21 @@ MonoBehaviour:
m_CoreBlitPS: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3}
m_CoreBlitColorAndDepthPS: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b, type: 3}
m_SamplingPS: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3}
m_TerrainDetailLit: {fileID: 4800000, guid: f6783ab646d374f94b199774402a5144, type: 3}
m_TerrainDetailGrassBillboard: {fileID: 4800000, guid: 29868e73b638e48ca99a19ea58c48d90, type: 3}
m_TerrainDetailGrass: {fileID: 4800000, guid: e507fdfead5ca47e8b9a768b51c291a1, type: 3}
- rid: 1321912066682388552
m_TerrainDetailLit: {fileID: 0}
m_TerrainDetailGrassBillboard: {fileID: 0}
m_TerrainDetailGrass: {fileID: 0}
- rid: 2049716455606583299
type: {class: URPDefaultVolumeProfileSettings, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Version: 0
m_VolumeProfile: {fileID: 11400000, guid: 7575fb2da3970c2c58a2428aa2837978, type: 2}
- rid: 2049716455606583300
type: {class: UniversalRenderPipelineRuntimeXRResources, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_xrOcclusionMeshPS: {fileID: 4800000, guid: 4431b1f1f743fbf4eb310a967890cbea, type: 3}
m_xrMirrorViewPS: {fileID: 4800000, guid: d5a307c014552314b9f560906d708772, type: 3}
m_xrMotionVector: {fileID: 4800000, guid: f89aac1e4f84468418fe30e611dff395, type: 3}
- rid: 1321912066682388553
- rid: 2049716455606583301
type: {class: PostProcessData/TextureResources, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
blueNoise16LTex:
......@@ -204,7 +193,7 @@ MonoBehaviour:
smaaAreaTex: {fileID: 2800000, guid: d1f1048909d55cd4fa1126ab998f617e, type: 3}
smaaSearchTex: {fileID: 2800000, guid: 51eee22c2a633ef4aada830eed57c3fd, type: 3}
m_TexturesResourcesVersion: 0
- rid: 1321912066682388554
- rid: 2049716455606583302
type: {class: ScreenSpaceAmbientOcclusionDynamicResources, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_BlueNoise256Textures:
......@@ -216,21 +205,21 @@ MonoBehaviour:
- {fileID: 2800000, guid: 3302065f671a8450b82c9ddf07426f3a, type: 3}
- {fileID: 2800000, guid: 56a77a3e8d64f47b6afe9e3c95cb57d5, type: 3}
m_Version: 0
- rid: 1321912066682388555
- rid: 2049716455606583303
type: {class: URPShaderStrippingSetting, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Version: 0
m_StripUnusedPostProcessingVariants: 0
m_StripUnusedVariants: 1
m_StripScreenCoordOverrideVariants: 1
- rid: 1321912066682388556
- rid: 2049716455606583304
type: {class: UniversalRenderPipelineRuntimeTextures, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Version: 1
m_BlueNoise64LTex: {fileID: 2800000, guid: e3d24661c1e055f45a7560c033dbb837, type: 3}
m_BayerMatrixTex: {fileID: 2800000, guid: f9ee4ed84c1d10c49aabb9b210b0fc44, type: 3}
m_DebugFontTex: {fileID: 2800000, guid: 26a413214480ef144b2915d6ff4d0beb, type: 3}
- rid: 1321912066682388557
- rid: 2049716455606583305
type: {class: UniversalRenderPipelineEditorShaders, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_AutodeskInteractive: {fileID: 4800000, guid: 0e9d5a909a1f7e84882a534d0d11e49f, type: 3}
......@@ -239,28 +228,28 @@ MonoBehaviour:
m_DefaultSpeedTree7Shader: {fileID: 4800000, guid: 0f4122b9a743b744abe2fb6a0a88868b, type: 3}
m_DefaultSpeedTree8Shader: {fileID: -6465566751694194690, guid: 9920c1f1781549a46ba081a2a15a16ec, type: 3}
m_DefaultSpeedTree9Shader: {fileID: -6465566751694194690, guid: cbd3e1cc4ae141c42a30e33b4d666a61, type: 3}
- rid: 1321912066682388558
- rid: 2049716455606583306
type: {class: UniversalRenderPipelineDebugShaders, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_DebugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7, type: 3}
m_HdrDebugViewPS: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3}
m_ProbeVolumeSamplingDebugComputeShader: {fileID: 7200000, guid: 53626a513ea68ce47b59dc1299fe3959, type: 3}
- rid: 1321912066682388559
- rid: 2049716455606583307
type: {class: ScreenSpaceAmbientOcclusionPersistentResources, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Shader: {fileID: 4800000, guid: 0849e84e3d62649e8882e9d6f056a017, type: 3}
m_Version: 0
- rid: 1321912066682388560
- rid: 2049716455606583308
type: {class: URPReflectionProbeSettings, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Universal.Runtime}
data:
version: 1
useReflectionProbeRotation: 1
- rid: 1321912066682388561
- rid: 2049716455606583309
type: {class: RenderGraphSettings, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Version: 0
m_EnableRenderCompatibilityMode: 0
- rid: 1321912066682388562
- rid: 2049716455606583310
type: {class: UniversalRendererResources, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Version: 0
......@@ -270,12 +259,12 @@ MonoBehaviour:
m_ClusterDeferred: {fileID: 4800000, guid: 222cce62363a44a380c36bf03b392608, type: 3}
m_StencilDitherMaskSeedPS: {fileID: 4800000, guid: 8c3ee818f2efa514c889881ccb2e95a2, type: 3}
m_DBufferClear: {fileID: 4800000, guid: f056d8bd2a1c7e44e9729144b4c70395, type: 3}
- rid: 1321912066682388563
- rid: 2049716455606583311
type: {class: OnTilePostProcessResource, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Version: 0
m_UberPostShader: {fileID: 4800000, guid: fe4f13c1004a07d4ea1e30bfd0326d9e, type: 3}
- rid: 1321912066682388564
- rid: 2049716455606583312
type: {class: PostProcessData/ShaderResources, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
stopNanPS: {fileID: 4800000, guid: 1121bb4e615ca3c48b214e79e841e823, type: 3}
......@@ -295,7 +284,7 @@ MonoBehaviour:
uberPostPS: {fileID: 4800000, guid: e7857e9d0c934dc4f83f270f8447b006, type: 3}
finalPostPassPS: {fileID: 4800000, guid: c49e63ed1bbcb334780a3bd19dfed403, type: 3}
m_ShaderResourcesVersion: 0
- rid: 1321912066682388565
- rid: 2049716455606583313
type: {class: UniversalRenderPipelineEditorMaterials, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_DefaultMaterial: {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
......@@ -304,11 +293,11 @@ MonoBehaviour:
m_DefaultTerrainMaterial: {fileID: 2100000, guid: 594ea882c5a793440b60ff72d896021e, type: 2}
m_DefaultDecalMaterial: {fileID: 2100000, guid: 31d0dcc6f2dd4e4408d18036a2c93862, type: 2}
m_DefaultSpriteMaterial: {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2}
- rid: 1321912066682388566
- rid: 2049716455606583314
type: {class: UniversalRenderPipelineEditorAssets, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_DefaultSettingsVolumeProfile: {fileID: 11400000, guid: eda47df5b85f4f249abf7abd73db2cb2, type: 2}
- rid: 1321912066682388567
- rid: 2049716455606583315
type: {class: GPUResidentDrawerResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.GPUDriven.Runtime}
data:
m_Version: 0
......@@ -321,13 +310,13 @@ MonoBehaviour:
m_OcclusionCullingDebugKernels: {fileID: 7200000, guid: b23e766bcf50ca4438ef186b174557df, type: 3}
m_DebugOcclusionTestPS: {fileID: 4800000, guid: d3f0849180c2d0944bc71060693df100, type: 3}
m_DebugOccluderPS: {fileID: 4800000, guid: b3c92426a88625841ab15ca6a7917248, type: 3}
- rid: 1321912066682388568
- rid: 2049716455606583316
type: {class: RenderGraphGlobalSettings, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_version: 0
m_EnableCompilationCaching: 1
m_EnableValidityChecks: 1
- rid: 1321912066682388569
- rid: 2049716455606583317
type: {class: VrsRenderPipelineRuntimeResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_TextureComputeShader: {fileID: 7200000, guid: cacb30de6c40c7444bbc78cb0a81fd2a, type: 3}
......@@ -354,33 +343,33 @@ MonoBehaviour:
- {r: 0.8, g: 1, b: 0.8, a: 1}
- {r: 0.2, g: 0.4, b: 0.2, a: 1}
- {r: 0.125, g: 0.22, b: 0.36, a: 1}
- rid: 1321912066682388570
- rid: 2049716455606583318
type: {class: RenderGraphUtilsResources, ns: UnityEngine.Rendering.RenderGraphModule.Util, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_Version: 0
m_CoreCopyPS: {fileID: 4800000, guid: 12dc59547ea167a4ab435097dd0f9add, type: 3}
- rid: 1321912066682388571
- rid: 2049716455606583319
type: {class: ProbeVolumeGlobalSettings, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_Version: 1
m_ProbeVolumeDisableStreamingAssets: 0
- rid: 1321912066682388572
- rid: 2049716455606583320
type: {class: RenderingDebuggerRuntimeResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_version: 0
- rid: 1321912066682388573
- rid: 2049716455606583321
type: {class: ShaderStrippingSetting, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_Version: 0
m_ExportShaderVariants: 1
m_ShaderVariantLogLevel: 0
m_StripRuntimeDebugShaders: 1
- rid: 1321912066682388574
- rid: 2049716455606583322
type: {class: LightmapSamplingSettings, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_Version: 1
m_UseBicubicLightmapSampling: 0
- rid: 1321912066682388575
- rid: 2049716455606583323
type: {class: ProbeVolumeBakingResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_Version: 1
......@@ -393,21 +382,21 @@ MonoBehaviour:
skyOcclusionRT: {fileID: -5126288278712620388, guid: 5a2a534753fbdb44e96c3c78b5a6999d, type: 3}
renderingLayerCS: {fileID: -6772857160820960102, guid: 94a070d33e408384bafc1dea4a565df9, type: 3}
renderingLayerRT: {fileID: -5126288278712620388, guid: 94a070d33e408384bafc1dea4a565df9, type: 3}
- rid: 1321912066682388576
- rid: 2049716455606583324
type: {class: ProbeVolumeRuntimeResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_Version: 1
probeVolumeBlendStatesCS: {fileID: 7200000, guid: a3f7b8c99de28a94684cb1daebeccf5d, type: 3}
probeVolumeUploadDataCS: {fileID: 7200000, guid: 0951de5992461754fa73650732c4954c, type: 3}
probeVolumeUploadDataL2CS: {fileID: 7200000, guid: 6196f34ed825db14b81fb3eb0ea8d931, type: 3}
- rid: 1321912066682388577
- rid: 2049716455606583325
type: {class: IncludeAdditionalRPAssets, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_version: 0
m_IncludeReferencedInScenes: 0
m_IncludeAssetsByLabel: 0
m_LabelToInclude:
- rid: 1321912066682388578
- rid: 2049716455606583326
type: {class: ProbeVolumeDebugResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_Version: 1
......@@ -417,23 +406,18 @@ MonoBehaviour:
probeVolumeOffsetDebugShader: {fileID: 4800000, guid: db8bd7436dc2c5f4c92655307d198381, type: 3}
probeSamplingDebugMesh: {fileID: -3555484719484374845, guid: 20be25aac4e22ee49a7db76fb3df6de2, type: 3}
numbersDisplayTex: {fileID: 2800000, guid: 73fe53b428c5b3440b7e87ee830b608a, type: 3}
- rid: 1321912066682388579
- rid: 2049716455606583327
type: {class: STP/RuntimeResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_setupCS: {fileID: 7200000, guid: 33be2e9a5506b2843bdb2bdff9cad5e1, type: 3}
m_preTaaCS: {fileID: 7200000, guid: a679dba8ec4d9ce45884a270b0e22dda, type: 3}
m_taaCS: {fileID: 7200000, guid: 3923900e2b41b5e47bc25bfdcbcdc9e6, type: 3}
- rid: 5227943654909018112
type: {class: URPDefaultVolumeProfileSettings, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Version: 0
m_VolumeProfile: {fileID: 11400000, guid: ab09877e2e707104187f6f83e2f62510, type: 2}
- rid: 5240940957688397888
- rid: 4850213259033706766
type: {class: URPTerrainShaderSetting, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Version: 0
m_IncludeTerrainShaders: 1
- rid: 5240940957688397889
- rid: 4850213259033706767
type: {class: UniversalRenderPipelineRuntimeTerrainShaders, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Version: 0
......
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 10
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 0
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 13
m_BakeOnSceneLoad: 0
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 12
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAmbientOcclusion: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 1
m_ReflectionCompression: 2
m_MixedBakeMode: 2
m_BakeBackend: 2
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 512
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 256
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 1
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1
m_PVRDenoiserTypeAO: 1
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVREnvironmentMIS: 1
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 1
m_PVRFilteringGaussRadiusAO: 1
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0}
m_LightingSettings: {fileID: 0}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 3
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
buildHeightMesh: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &284121875
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 284121876}
- component: {fileID: 284121877}
m_Layer: 0
m_Name: AppRouter
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &284121876
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 284121875}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 13.2669, y: 15.48521, z: -4.57864}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 3875778254585832864}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &284121877
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 284121875}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4f2682cf8a6c26b4bb2d0ce6b08c6ec9, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::AppRouter
splashScreen: {fileID: 90795484556287063}
errorPanel: {fileID: 0}
transitionSettings: {fileID: 11400000, guid: 91673b50629b1ae4f938d0b25135d085, type: 2}
--- !u!1 &787965442
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 787965443}
- component: {fileID: 787965446}
- component: {fileID: 787965445}
- component: {fileID: 787965444}
m_Layer: 0
m_Name: 2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &787965443
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 787965442}
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: 3875778254585832864}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0.000015258789, y: 0.000030517578}
m_SizeDelta: {x: 765.2375, y: 1700.5278}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &787965444
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 787965442}
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: 1, g: 1, b: 1, 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: 980570066fb5dd74abc396427104080f, type: 3}
m_Type: 0
m_PreserveAspect: 1
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &787965445
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 787965442}
m_CullTransparentMesh: 1
--- !u!212 &787965446
SpriteRenderer:
serializedVersion: 2
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 787965442}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_ForceMeshLod: -1
m_MeshLodSelectionBias: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_GlobalIlluminationMeshLod: 0
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_MaskInteraction: 0
m_Sprite: {fileID: 21300000, guid: 980570066fb5dd74abc396427104080f, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 15.63, y: 15.63}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_SpriteSortPoint: 0
--- !u!1 &877571984
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 877571986}
- component: {fileID: 877571985}
m_Layer: 0
m_Name: TransitionManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &877571985
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 877571984}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 61430b0086307cc4da3ccc8d39ae88da, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::EasyTransition.TransitionManager
transitionTemplate: {fileID: 5276914992623515724, guid: 616d511151a6c554caddf1c754e4f91d, type: 3}
--- !u!4 &877571986
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 877571984}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 540, y: 1199.9999, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1239670919
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1239670922}
- component: {fileID: 1239670921}
- component: {fileID: 1239670923}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!20 &1239670921
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1239670919}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_Iso: 200
m_ShutterSpeed: 0.005
m_Aperture: 16
m_FocusDistance: 10
m_FocalLength: 50
m_BladeCount: 5
m_Curvature: {x: 2, y: 11}
m_BarrelClipping: 0.25
m_Anamorphism: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!4 &1239670922
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1239670919}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1239670923
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1239670919}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.UniversalAdditionalCameraData
m_RenderShadows: 1
m_RequiresDepthTextureOption: 2
m_RequiresOpaqueTextureOption: 2
m_CameraType: 0
m_Cameras: []
m_RendererIndex: -1
m_VolumeLayerMask:
serializedVersion: 2
m_Bits: 1
m_VolumeTrigger: {fileID: 0}
m_VolumeFrameworkUpdateModeOption: 2
m_RenderPostProcessing: 0
m_Antialiasing: 0
m_AntialiasingQuality: 2
m_StopNaN: 0
m_Dithering: 0
m_ClearDepth: 1
m_AllowXRRendering: 1
m_AllowHDROutput: 1
m_UseScreenCoordOverride: 0
m_ScreenSizeOverride: {x: 0, y: 0, z: 0, w: 0}
m_ScreenCoordScaleBias: {x: 0, y: 0, z: 0, w: 0}
m_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_TaaSettings:
m_Quality: 3
m_FrameInfluence: 0.1
m_JitterScale: 1
m_MipBias: 0
m_VarianceClampScale: 0.9
m_ContrastAdaptiveSharpening: 0
m_Version: 2
--- !u!1 &90795484556287063
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3875778254585832864}
- component: {fileID: 8403144883015818644}
- component: {fileID: 6979911012296834176}
- component: {fileID: 8461727443214943944}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!222 &1016906128007453682
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5174508683906604021}
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
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 90795484556287063}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4601489637093293263}
- {fileID: 787965443}
m_Father: {fileID: 284121876}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!224 &4601489637093293263
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5174508683906604021}
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: 4986786963889757496}
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}
m_SizeDelta: {x: 0, y: 0}
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
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4601489637093293263}
- component: {fileID: 1016906128007453682}
- component: {fileID: 9069098437070032449}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
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
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 90795484556287063}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.CanvasScaler
m_UiScaleMode: 1
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 1080, y: 2400}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0.5
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
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
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 90795484556287063}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 9
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 10
m_TargetDisplay: 0
--- !u!114 &8461727443214943944
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 90795484556287063}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.GraphicRaycaster
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &9069098437070032449
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5174508683906604021}
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.047169805, g: 0.047169805, b: 0.047169805, 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: 0}
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!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0
m_Roots:
- {fileID: 1239670922}
- {fileID: 284121876}
- {fileID: 877571986}
fileFormatVersion: 2
guid: 65029139cbac23040893e56d77097fcf
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -116,7 +116,6 @@ PlayerSettings:
xboxEnableGuest: 0
xboxEnablePIXSampling: 0
metalFramebufferOnly: 0
metalUseMetalDisplayLink: 0
xboxOneResolution: 0
xboxOneSResolution: 0
xboxOneXResolution: 3
......
<<<<<<< HEAD
m_EditorVersion: 6000.3.12f1
m_EditorVersionWithRevision: 6000.3.12f1 (fca03ac9b0d5)
=======
m_EditorVersion: 6000.3.8f1
m_EditorVersionWithRevision: 6000.3.8f1 (1c7db571dde0)
>>>>>>> origin/NewUIv2
......@@ -2,13 +2,13 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!78 &1
TagManager:
serializedVersion: 2
serializedVersion: 3
tags: []
layers:
- Default
- TransparentFX
- Ignore Raycast
-
- VFX
- Water
- UI
-
......@@ -50,27 +50,3 @@ TagManager:
- Light Layer 5
- Light Layer 6
- Light Layer 7
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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