This example shows how to get a reference to the native Button component that is attached to the same GameObject as the UIButton component. You don’t really need this reference, but should you have a particular use-case where you need it this is the way to get it.
public class ExampleClass : MonoBehaviour
public UIButton MyButton;
private void Start()
Button button = MyButton.Button; //get a reference to the native Button component attached to the same GameObject as the UIButton component