24 lines
483 B
C#
24 lines
483 B
C#
using Obvious.Soap;
|
|
using UnityEngine;
|
|
|
|
public class UI_ModalProfileDelete : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private ScriptableEventString On_ModalProfileDelete_ConfirmClicked;
|
|
|
|
private string profileToDelete;
|
|
|
|
public void OnLoadSlotRemoveClicked(string profileToDelete)
|
|
{
|
|
this.profileToDelete = profileToDelete;
|
|
}
|
|
|
|
public void OnConfirmClicked()
|
|
{
|
|
if (!string.IsNullOrEmpty(profileToDelete))
|
|
{
|
|
On_ModalProfileDelete_ConfirmClicked.Raise(profileToDelete);
|
|
}
|
|
}
|
|
}
|