Skip to content

Example to show how to return result from Dialog #13

Description

@antiero

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions