Exemple #1
0
    /// <summary>
    /// Shows confirmation popup and sets callback to run when popup is confirmed
    /// </summary>
    /// <param name="_actionToConfirm"></param>
    private void showConfirmationPopup(actionToConfirm _actionToConfirm) //TODO add message text as param?
    {
        confirmationPopup.SetActive(true);

        this._actionToConfirm = _actionToConfirm;
    }