playerpref steps

This commit is contained in:
asleal2 2018-04-26 02:54:53 -05:00
parent a2d0555a52
commit 009e8ee9c9

View file

@ -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?
}