How to set a button to disabled in Unity 2017.3

How can i set a button to disabled when another button is clicked.

You can do this via code, by adding listener to first button which will turn off second button (you need reference for second button and in listener to first put secondButton.SetActive(false);

Or you can easily drag (in inspector) second button to first button to it’s OnClick() function and select GameObject → SetActive(bool).