Skip to content

Commit 0f1ff12

Browse files
committed
init error
1 parent ab1183e commit 0f1ff12

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Assets/Others/Script/UnityAdsHelper.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ private IEnumerator Initialize()
5454
Debug.Log(string.Format("Unity Monetization was initialized in {0:F1} seconds.", Time.time - initStartTime));
5555
}
5656

57-
{
58-
float initStartTime = Time.time;
59-
Advertisement.Initialize(androidGameID, enableTestMode);
60-
while (!Advertisement.isInitialized) { yield return new WaitForSeconds(0.1f); }
61-
Debug.Log(string.Format("Unity Ads was initialized in {0:F1} seconds.", Time.time - initStartTime));
62-
}
57+
//{
58+
// float initStartTime = Time.time;
59+
// Advertisement.Initialize(androidGameID, enableTestMode);
60+
// while (!Advertisement.isInitialized) { yield return new WaitForSeconds(0.1f); }
61+
// Debug.Log(string.Format("Unity Ads was initialized in {0:F1} seconds.", Time.time - initStartTime));
62+
//}
6363
}
6464

6565
IEnumerator ShowBannerWhenReady()

0 commit comments

Comments
 (0)