public void DeleteCharacter() { Action <bool> processResponse = (bool response) => { if (response == true && this.selectedSlot != null) { PF_PlayerData.DeleteCharacter(this.selectedSlot.saved.characterDetails.CharacterId); this.selectedSlot = null; } }; DialogCanvasController.RequestConfirmationPrompt(GlobalStrings.DEL_CHAR_PROMPT, string.Format(GlobalStrings.DEL_CHAR_MSG, this.selectedSlot.ponyName.text), processResponse); }