unity cannot click button
Code Example - unity cannot click button
In Canvas you have a Canvas Group and interactable is turned off. On Game Over turn it on and everything should work fine or add a Canvas Group to the button gameObject and enable "Ignore Parent Groups"