I need that after clicking on the ui button, the object becomes non-clickable, that is, it does not just become invisible (as when clicking the checkmark in the inspector or using SetActive()), but remains visible on the scene but is not clickable.
You can change this property on the Button:
1 Like