When i finish last level Tilevania

When I finish the last level and return to the first, it doesn’t reset the score or the levels

Hi Francisco,

Have you already tried to add Debug.Logs to your code to see what is going on during runtime? Does your code check if the first scene was loaded again? If not, it cannot “randomly” reset the score because the computer does not know anything about “first”, “last” and so on. We have to define everything and tell the computer when to do what.


See also:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms