17 lines
393 B
C#
17 lines
393 B
C#
|
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);
|
||
|
}
|
||
|
}
|