Implemented steamworks and achievements, v1.3.0

This commit is contained in:
Nicola Sovic
2022-06-12 14:14:54 +02:00
parent aa56dea657
commit 84e897e147
15 changed files with 395 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ namespace Assets.Scripts.Menu
options.SetActive(false);
characterCreation.SetActive(false);
mainMenu.SetActive(true);
SteamWorksHandler.getStandardAchievement("StartAchievement");
}
void Update()
@@ -51,6 +52,7 @@ namespace Assets.Scripts.Menu
PlayerPrefs.SetString("playername", GameObject.Find("inName").GetComponent<InputField>().text);
PlayerPrefs.SetInt("difficulty", GameObject.Find("dropDifficulty").GetComponent<Dropdown>().value);
PlayerPrefs.SetInt("isLoad", 0);
SteamWorksHandler.getStandardAchievement("CharAchievement");
sceneHandler.openGameScene();
}