Reworked options menu as a prefab and changed pause menu a bit. Need to work on option loading (Currently still old mechanic) and jumping cam when striving and looking.
This commit is contained in:
@@ -56,17 +56,6 @@ namespace Assets.Scripts.Menu
|
||||
uihandler.closeCharacterCreation();
|
||||
}
|
||||
|
||||
public void saveOptions()
|
||||
{
|
||||
string saveText = "";
|
||||
saveText = saveText + uihandler.saveVideoSettings() + "\r\n";
|
||||
saveText = saveText + uihandler.saveLanguage() + "\r\n";
|
||||
saveText = saveText + uihandler.saveAudioSettings() + "\r\n";
|
||||
saveText = saveText + "SensitivityMouse:"+GameObject.Find("slideSensitivityMouseHorizontal").GetComponent<Slider>().value + "/" + GameObject.Find("slideSensitivityMouseVertical").GetComponent<Slider>().value;
|
||||
FileHandler.saveOptions(saveText);
|
||||
uihandler.closeOptions();
|
||||
}
|
||||
|
||||
public void loadGame()
|
||||
{
|
||||
uihandler.loadGame(sceneHandler);
|
||||
|
||||
Reference in New Issue
Block a user