public void OnDeleteSaving() { confirmWindow.Open(() => { var deleted = UserDataManager.Savings.Remove(saving); if (!deleted) { Debug.LogError("Can't delete wallet"); } Events.OnUpdateTab?.Invoke(); gameObject.SetActive(false); }); }