I have set up a canvas, that contains children buttons: Resume, Restart and Quit.
When I press pause, the canvas is enabled, I can click on any button and it works fine.
If I resume the game, I disable the canvas, it disappears along with all it’s buttons children, but if i click in the place of any of the buttons that disappeared, it executes whatever function they should.
The buttons aren’t showing, but I can still press them! why is that?