Skip to content

Commit 3baea23

Browse files
Nicholas Ventimigliacopybara-github
authored andcommitted
Updated preloading code snippets.
PiperOrigin-RevId: 912652275
1 parent b16c8b4 commit 3baea23

14 files changed

Lines changed: 3098 additions & 0 deletions

packages/com.google.ads.mobile/Samples~/HelloWorld/Assets/Scripts/Utility/SceneMenuList.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public SceneInfo(string text, string sceneToLoad)
3030
new SceneInfo("Rewarded Interstitial Ad", "GoogleRewardedInterstitialAdScene"),
3131
new SceneInfo("App Open Ad", "GoogleAppOpenAdScene"),
3232
new SceneInfo("Native Overlay Ad", "GoogleNativeOverlayAdScene"),
33+
new SceneInfo("Preload Ads", "GooglePreloadAdsScene"),
3334
};
3435

3536
[Tooltip("Prefab for the SceneMenuButton.")]

packages/com.google.ads.mobile/Samples~/HelloWorld/ProjectSettings/EditorBuildSettings.asset

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ EditorBuildSettings:
2626
- enabled: 1
2727
path: Assets/Scenes/GoogleNativeOverlayAdScene.unity
2828
guid: 7dae6ce369eac46f1bdd0f6c2e80928f
29+
- enabled: 1
30+
path: Assets/Scenes/GooglePreloadAdsScene.unity
31+
guid: be5c45d20103a4bef8a93f9942cb4084
2932
m_configObjects: {}

0 commit comments

Comments
 (0)