2022-06-03 10:34:31 +02:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
public class NewGame : MonoBehaviour
|
|
|
|
{
|
|
|
|
public void ResetSettings()
|
|
|
|
{
|
|
|
|
int rock = 1;
|
|
|
|
PlayerPrefs.SetInt("rock", rock);
|
|
|
|
string pickaxe1 = "create";
|
|
|
|
PlayerPrefs.SetString("pickaxe1", pickaxe1);
|
|
|
|
string name = "none";
|
|
|
|
PlayerPrefs.SetString("name", name);
|
2022-06-15 16:32:14 +02:00
|
|
|
int isQuest = 1;
|
|
|
|
PlayerPrefs.SetInt("lumberjack", isQuest);
|
|
|
|
int isKilled = 0;
|
|
|
|
PlayerPrefs.SetInt("bat0", isKilled);
|
|
|
|
PlayerPrefs.SetInt("bat1", isKilled);
|
|
|
|
PlayerPrefs.SetInt("skeleton0", isKilled);
|
|
|
|
PlayerPrefs.SetInt("slime0", isKilled);
|
|
|
|
PlayerPrefs.SetInt("slime1", isKilled);
|
|
|
|
float health = 10.0f;
|
|
|
|
PlayerPrefs.SetFloat("health", health);
|
2022-06-15 19:54:44 +02:00
|
|
|
PlayerPrefs.SetInt("continued", 0);
|
|
|
|
PlayerPrefs.SetInt("rock", 0);
|
|
|
|
PlayerPrefs.SetInt("goldOre", 0);
|
|
|
|
PlayerPrefs.SetInt("pickaxe", 0);
|
2022-09-26 23:09:07 +02:00
|
|
|
PlayerPrefs.SetInt("BossThug", 0);
|
|
|
|
PlayerPrefs.SetInt("Thug1", 0);
|
|
|
|
PlayerPrefs.SetInt("Thug2", 0);
|
2022-06-03 10:34:31 +02:00
|
|
|
}
|
|
|
|
}
|