Repair unity packet

This commit is contained in:
emDuy
2026-06-13 02:25:55 +07:00
parent 9048435ac4
commit 2db2424bb1
72 changed files with 52285 additions and 197 deletions

View File

@@ -26,12 +26,12 @@ namespace Hallucinate.UI
_winRateText = root.Q<Label>("WinRateText");
_logoutBtn = root.Q<Button>("LogoutBtn");
root.Q<Button>("BackBtn").clicked += async () => await uiManager.Pop();
/*root.Q<Button>("BackBtn").clicked += async () => await uiManager.Pop();*/
if (_logoutBtn != null)
/*if (_logoutBtn != null)
{
_logoutBtn.clicked += Logout;
}
}*/
if (LocalizationManager.Instance != null)
{
@@ -65,11 +65,11 @@ namespace Hallucinate.UI
if (_logoutBtn != null) _logoutBtn.text = LocalizationManager.Instance.GetLocalizedString("PROFILE_LOGOUT");
}
public override async Task PlayTransitionIn()
/*public override async Task PlayTransitionIn()
{
LoadProfileData(); // Refresh data every time we show the profile
await base.PlayTransitionIn();
}
}*/
private void LoadProfileData()
{
@@ -87,7 +87,7 @@ namespace Hallucinate.UI
_winRateText.text = "72%";
}
private async void Logout()
/*private async void Logout()
{
// Clear local save data
PlayerPrefs.DeleteKey("Username");
@@ -106,7 +106,7 @@ namespace Hallucinate.UI
// Redirect to Login Screen
await uiManager.Push<LoginController>();
}
}*/
}
}