UnityNativeDialogPlugin
UnityNativeDialogPlugin copied to clipboard
Example to show how to return result from Dialog
Hi, is it possible to update your example to show how the result from the dialog can be returned and dealt with? For example in this method:
public void ShowSelectDialog(string message = "Are you sure you?")
{
DialogManager.ShowSelect(message, (bool result) =>
{
Debug.Log($"{result}: {message}");
});
}
I'd like to be able to get the result value returned, not just see the Debug.Log messag.