UIDialog.AddButton(string, Action) Method
Definition
Namespace: Brine2D.UI
Adds a button to the dialog's button area. Buttons are laid out left-to-right in add order, centered horizontally as a group. Call RepositionButtons() after adding all buttons if you need positions to be correct before the first render.
Parameters
text System.String
onClick System.Action