Kudos for using half the CODE tag. Please use both of them
https://discussions.unity.com/t/481379
I will presume that you want to refer to a Button. So this
should be something like this:
using UnityEngine.UI;
[...]
public Button camSwitchButton;