Add new response from the server

This commit is contained in:
2025-06-24 14:42:59 -07:00
parent 24f983ecb1
commit 7b7890aa8c

View File

@@ -89,6 +89,17 @@ public class LoadingMenu : MonoBehaviour
await SceneManager.LoadSceneAsync("MainMenu"); await SceneManager.LoadSceneAsync("MainMenu");
} }
else if (response == "2") else if (response == "2")
{
text.text = "Outdated client! You can still play the game and access the servers, but it isn't recommended.";
var updateButtonPos = updateButton.transform.localPosition;
updateButtonPos.x = -135;
updateButton.transform.localPosition = updateButtonPos;
updateButton.gameObject.SetActive(true);
continueButton.gameObject.SetActive(true);
}
else if (response == "3")
{ {
text.text = "Outdated client! You can still load into the game, but online features may not be available."; text.text = "Outdated client! You can still load into the game, but online features may not be available.";