Method SetInteractable
SetInteractable(bool)
Sets the button's interactable state if the state specified is different from the current state.
Declaration
public void SetInteractable(bool interactable)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | interactable | Whether the button should be enabled or not. |