This version of Unity is unsupported.

Button Constructor

Declaration

public Button();

Declaration

public Button(Action clickEvent);

Parameters

clickEvent Action triggered when the button is clicked.

Description

Constructs a Button.