Hi,
Maybe this has been talked about, but i can’t find an answer.
I’m working on a simple game. This game involves a gameplay with 2 objects and they can score goals. Sort of like Pong.
When the player has scored, i want to wait some time, display some info and then reset some stuff to start playing again.
My goal scoring mechanism is detected by collision, as this is called every frame, you don’t want your score updated X times.
So you’d want to detect the collision, update the score, wait, show some text, reset some stuff, begin again.
I don’t need code, but some pointers on how to do this with Unity, what’s the best approach to create such a flow. Can’t find it in the manual.
I’ve tried some stuff with WaitForSeconds, but that feels really ugly.