UKismetSystemLibrary::ShowInterstitialAd
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticBlueprintCallable
Description
Displays the interstitial ad that was previously loaded with LoadInterstitialAd. Android only.
Caveats & Gotchas
- • Only implemented on Android; does nothing on other platforms.
- • Calling this before the ad has finished loading is a no-op — always guard with IsInterstitialAdAvailable first.
- • Interstitials are full-screen and pause the game, so call this at a natural break point (level end, menu transition) rather than mid-gameplay.
Signature
static ENGINE_API void ShowInterstitialAd() Return Type
void Example
Show a loaded interstitial C++
if (UKismetSystemLibrary::IsInterstitialAdAvailable())
{
UKismetSystemLibrary::ShowInterstitialAd();
} Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?