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