From 13af80c77c162834b7ed007b0b47ea1c8467d57a Mon Sep 17 00:00:00 2001 From: xudox Date: Tue, 9 Aug 2022 15:18:56 +0400 Subject: [PATCH] logs --- .../Code/NFTWallet/Windows/MyCollectionController.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Src/NFTWallet/Assets/Code/NFTWallet/Windows/MyCollectionController.cs b/Src/NFTWallet/Assets/Code/NFTWallet/Windows/MyCollectionController.cs index a3b882e..c75cfbb 100644 --- a/Src/NFTWallet/Assets/Code/NFTWallet/Windows/MyCollectionController.cs +++ b/Src/NFTWallet/Assets/Code/NFTWallet/Windows/MyCollectionController.cs @@ -11,6 +11,7 @@ using Unity3dApi; using UnityEngine; using UnityEngine.Networking; +using Debug = System.Diagnostics.Debug; public class MyCollectionController { @@ -74,9 +75,11 @@ public async UniTask LoadItemsAsync(CancellationToken token) { NFTMetadataModels = new List(NFTMetadataModels.Count); - var items = await this.LoadCollectionItemsAsync(token); + List items = await this.LoadCollectionItemsAsync(token); - foreach (var item in items) + UnityEngine.Debug.Log(string.Format("Loading {0} items", items.Count)); + + foreach (NFTItem item in items) { this.SaveItemToStorage(item); }