Sync UI buttons and interactable states

Options
Hello All ! Am working in a two player game where UI elements are same. Whereas, if certain conditions are satisfied for one player then he can access the UI elements like he can click on buttons else the button should not be interactable? How can i achieve this?