I am pretty new to Unity, but I got used to it, I love it!
My issue is, that I have all UI elements like buttons, texts etc in one single canvas
and whenever my “Game Over” texts appear, I would like to disable my buttons,
which are for controlling the player.
Whenever I untick “interactable” in “Button(Script)” inside of the inspector, the buttons
appear grey, but I can still interact with them. Something you maybe want to know is that
all UI elements have an individual canvas group to adjust “.alpha”.
See if maybe the reverse is true too: they might force otherwise non-interactive buttons to be interactive. Not sure… it would be easy for you to quickly test right in the Unity editor, just using a simple script and fresh scene with some sample UI.
No, no no. This is not a solution. This is a different feature.
Interactable is related to Disabled on Selectables. There is a difference between disallowing raycasts and disallowing input. Often disallowing raycasts is used while in transition to another screen. But disallowing input needs to be communicated to the user by graying out the button, as per standard UX practices.
Interactable on Canvas Group SHOULD be setting Interactable on any Selectable at same level or as a child. This is a bug. This issue is not solved.