This commit is contained in:
2021-11-13 18:59:45 +05:30
parent 6316312962
commit 3560ff1ef7
224 changed files with 177260 additions and 14466 deletions

View File

@@ -259,7 +259,8 @@ PlayerPrefs.SetInt("particles", option);
textureQ.value = PlayerPrefs.GetInt("textureQ");
meshQ.value = PlayerPrefs.GetInt("meshQ");
lightningQ.value = PlayerPrefs.GetInt("lightningQ");
resolution.SetValue(resolution.GetOption(PlayerPrefs.GetString("resolution")));
Debug.Log(PlayerPrefs.GetString("resolution"));
// resolution.SetValue(resolution.GetOption(PlayerPrefs.GetString("resolution")));
//APPLY EACH
QualitySettings.vSyncCount = PlayerPrefs.GetInt("vsync");
@@ -356,8 +357,8 @@ PlayerPrefs.SetInt("particles", option);
Screen.fullScreen = fullscreen.isOn;
string[] res = PlayerPrefs.GetString("resolution").Split('x');
Screen.SetResolution(int.Parse(res[0]), int.Parse(res[1]), fullscreen.isOn);
// string[] res = PlayerPrefs.GetString("resolution").Split('x');
// Screen.SetResolution(int.Parse(res[0]), int.Parse(res[1]), fullscreen.isOn);
}