Add 1.3-beta1
This commit is contained in:
10 files changed
+1401
No files matched your search
@@ -0,0 +1,19 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class Loading : MonoBehaviour
|
||||
{
|
||||
public string clientVersion;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
QualitySettings.vSyncCount = PlayerPrefs.GetInt("Setting5", 1);
|
||||
Screen.fullScreen = PlayerPrefs.GetInt("Setting1", 1) == 1;
|
||||
PlayerPrefs.SetString("latestVersion", clientVersion);
|
||||
if (!PlayerPrefs.HasKey("iconSelected"))
|
||||
{
|
||||
PlayerPrefs.SetInt("iconSelected", 1);
|
||||
}
|
||||
SceneManager.LoadScene("Menu");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user