playerpref steps
This commit is contained in:
parent
009e8ee9c9
commit
908c88ed85
1 changed files with 2 additions and 0 deletions
|
@ -132,6 +132,8 @@ public class GetGoals : MonoBehaviour {
|
|||
Debug.Log("Goal complete! +100pts!");
|
||||
userSteps = 0;
|
||||
PlayerPrefs.SetInt("currentSteps", userSteps);
|
||||
savedSteps = 0;
|
||||
OnStep(0,0);
|
||||
//destroy the goal and set a new one?
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue