Question by
leophilippidis · Sep 01, 2019 at 10:46 AM ·
c#2d gamescript.
How can I reset the score counter?
If I lost, the score counter goes to zero, but if I make a point again, the score counter turns on the old number. How can solve the problem?
Comment
Answer by ozavegames · Sep 01, 2019 at 12:22 PM
Hi, @leophilippidis You can use Scriptable Object to store your score and then use same reference to display on screen.
Answer by leophilippidis · Sep 01, 2019 at 01:05 PM
tanks @ozavegames but I do not want my score counter goes back to the old numbe. Do you have any idea how I can solve this?
Your answer
Follow this Question
Related Questions
How do you make a random 2D shape in Unity? 0 Answers
[2D] How to grab and throw an object backward? 2 Answers
Avoid changes if I dont changing my position. 1 Answer
How to make an enemy 2d chasing player? 2 Answers
How can I reset the score counter? 0 Answers