Class SerenityButton
Inheritance
SerenityButton
Assembly: Serenity.UnityUi.Infrastructure.dll
public sealed class SerenityButton
Constructors
Declaration
public SerenityButton(UnityUiSubmitComponent submit, GameObject go, Button button)
Parameters
Properties
Declaration
public GameObject GameObject { get; }
Property Value
| Type |
Description |
| GameObject |
|
Methods
Declaration
public void SetActive(bool on)
Parameters
| Type |
Name |
Description |
| bool |
on |
|
Declaration
public void SetFocused(bool on)
Parameters
| Type |
Name |
Description |
| bool |
on |
|
Declaration
public void SetInteractable(bool on)
Parameters
| Type |
Name |
Description |
| bool |
on |
|
Declaration
public void SetLabel(string text)
Parameters
| Type |
Name |
Description |
| string |
text |
|
Triggers the submit action (the same path as a click), for keyboard/gamepad selection.
Declaration