melee
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user