is there anyone know how to creat a " replay " botton
In case the only thing you want to do is restart the current scene when the “Replay” button is pressed, it pretty simple.
For the button, you can use a simple sprite object and do the following:
To be able to use the same event on any scenes, you could store the actual scene name inside a variable that you set at the beginning of each scene, and use that variable as scene name.
This way, you can use the event as an external event and simply link the event on each scene.
oh , it’s highly useful
thank you very much !!!