fixed options, fixed save, new Screenshots, v.140
This commit is contained in:
@@ -17,6 +17,7 @@ namespace Assets.Scripts.Menu
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
FileHandler.loadOptions(false);
|
||||
options.SetActive(false);
|
||||
characterCreation.SetActive(false);
|
||||
mainMenu.SetActive(true);
|
||||
@@ -107,7 +108,7 @@ namespace Assets.Scripts.Menu
|
||||
{
|
||||
options.SetActive(true);
|
||||
mainMenu.SetActive(false);
|
||||
GameObject.Find("AudioHandler").GetComponent<AudioHandler>().setSlider();
|
||||
FileHandler.loadOptionDisplay();
|
||||
GameObject.Find("ScrollbarOptions").GetComponent<Scrollbar>().value = 1f;
|
||||
}
|
||||
|
||||
@@ -117,11 +118,10 @@ namespace Assets.Scripts.Menu
|
||||
mainMenu.SetActive(true);
|
||||
}
|
||||
|
||||
public void adaptScreen()
|
||||
{
|
||||
public string saveVideoSettings(){
|
||||
GameObject resolution = GameObject.Find("dropResolution");
|
||||
GameObject mode = GameObject.Find("dropMode");
|
||||
|
||||
string result = "";
|
||||
switch (resolution.GetComponent<Dropdown>().value)
|
||||
{
|
||||
case 0:
|
||||
@@ -156,6 +156,9 @@ namespace Assets.Scripts.Menu
|
||||
}
|
||||
break;
|
||||
}
|
||||
result = result + "Resolution:"+resolution.GetComponent<Dropdown>().value+"\r\n";
|
||||
result = result + "Mode:"+mode.GetComponent<Dropdown>().value;
|
||||
return result;
|
||||
}
|
||||
|
||||
public void updateCreationInformation()
|
||||
|
||||
Reference in New Issue
Block a user