Format files

This commit is contained in:
Lncvrt committed 2025-08-28 14:26:56 -07:00
1 parent a6d8356864
commit 75e4867ae8
8 files changed
+1534 -1534

No files matched your search

+17 -17
View File
@@ -5,24 +5,24 @@ using UnityEngine.UI;
public class Loading : MonoBehaviour
{
public float clientVersion;
public float clientVersion;
public TMP_Text statusText;
public TMP_Text statusText;
public Button updateButton;
public Button updateButton;
private void Awake()
{
QualitySettings.vSyncCount = PlayerPrefs.GetInt("Setting5", 1);
Screen.fullScreen = PlayerPrefs.GetInt("Setting1", 1) == 1;
PlayerPrefs.SetFloat("latestVersion", clientVersion);
if (!PlayerPrefs.HasKey("iconSelected"))
{
PlayerPrefs.SetInt("iconSelected", 1);
}
PlayerPrefs.SetInt("icon", Mathf.Clamp(PlayerPrefs.GetInt("icon", 0), 1, 4));
PlayerPrefs.SetInt("overlay", Mathf.Clamp(PlayerPrefs.GetInt("overlay", 0), 0, 9));
PlayerPrefs.Save();
SceneManager.LoadScene("Menu");
}
private void Awake()
{
QualitySettings.vSyncCount = PlayerPrefs.GetInt("Setting5", 1);
Screen.fullScreen = PlayerPrefs.GetInt("Setting1", 1) == 1;
PlayerPrefs.SetFloat("latestVersion", clientVersion);
if (!PlayerPrefs.HasKey("iconSelected"))
{
PlayerPrefs.SetInt("iconSelected", 1);
}
PlayerPrefs.SetInt("icon", Mathf.Clamp(PlayerPrefs.GetInt("icon", 0), 1, 4));
PlayerPrefs.SetInt("overlay", Mathf.Clamp(PlayerPrefs.GetInt("overlay", 0), 0, 9));
PlayerPrefs.Save();
SceneManager.LoadScene("Menu");
}
}