diff --git a/Assets/Enjin Integration/Scripts/API/EnjinApiService.cs b/Assets/Enjin Integration/Scripts/API/EnjinApiService.cs index a1e9451..d025a5b 100644 --- a/Assets/Enjin Integration/Scripts/API/EnjinApiService.cs +++ b/Assets/Enjin Integration/Scripts/API/EnjinApiService.cs @@ -222,6 +222,7 @@ public void AttachHeader(UnityWebRequest request, string key, string value) if (getManagedWalletTokensRequest.result == UnityWebRequest.Result.Success) { var ManagedWalletAccount = JsonUtility.FromJson(getManagedWalletTokensRequest.downloadHandler.text); + Debug.Log("Managed wallet account address:" + ManagedWalletAccount.account.address + ".\nIn order to test the 'Send' and 'Melt' options, make sure to fund this wallet with some cENJ."); return ManagedWalletAccount; } } diff --git a/Assets/Enjin Integration/Scripts/Core/EnjinManager.cs b/Assets/Enjin Integration/Scripts/Core/EnjinManager.cs index 5c37865..4765014 100644 --- a/Assets/Enjin Integration/Scripts/Core/EnjinManager.cs +++ b/Assets/Enjin Integration/Scripts/Core/EnjinManager.cs @@ -152,6 +152,7 @@ public async Task RegisterAndLogin(string email, string password) SaveTokenToPlayerPrefs(); Debug.Log("Login successful. Token generated."); OnLoginComplete?.Invoke(true); + GetManagedWalletTokens(); } ///