I'm not sure will this objects be clickable if they will be invisible on separate layer (or if they will visible on invisible layer)? There is some buttons, and I don't want them to be clickable while game is not over.
Just put these buttons in a separate layer. Turn this layer visible in your game over conditions and invisible in gameplay. Put conditions in your buttons to user click them only when layer is visible.