Method ApplyButtonStyle
| Edit this page View SourceApplyButtonStyle(Button, int)
Apply valheim style to a UnityEngine.UI.Button Component
Declaration
public void ApplyButtonStyle(UnityEngine.UI.Button button, int fontSize = 16)
Parameters
| Type | Name | Description |
|---|---|---|
| Button | button | Component to apply the style to |
| int | fontSize | Optional font size, defaults to 16 |