コード例 #1
0
        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);
            });
        }