This version of Unity is unsupported.

Button Constructor

public Button();
public Button(Action clickEvent);

Parameters

clickEventAction triggered when the button is clicked.

Description

Constructs a Button.