❔ Score increment
Hello. I followed a tutorial on youtube on how to make a small 2D mobile game using Unity. There are some boxes falling from the sky and you (the player) need to dodge them by taping either left or right side of the screen. Everything works fine, but everytime the boxes reaches the middle of the screen, the score increments. How can I do so that the score will increase after the player dodges the box? I will write the code in the thread
7 Replies
Player.cs:
Block.cs:
$unity
ah, ok
(generally better for Unity-specifc questions)
I see
thanks for the info
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.