UnityNativeDialogPlugin icon indicating copy to clipboard operation
UnityNativeDialogPlugin copied to clipboard

Example to show how to return result from Dialog

Open antiero opened this issue 3 months ago • 0 comments

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.

antiero avatar Sep 09 '25 14:09 antiero