unreal.OnUserClosedAdvertisement

class unreal.OnUserClosedAdvertisement(*args, **kwargs)

Bases: unreal.DelegateBase

Delegate called when user closes an ad (after clicking on banner). Base class already handles pausing, so a delegate is only needed if you need extra handling. If you set it to a PC or other actor function, make sure to set it back when switching levels.

C++ Source:

  • Module: Engine

  • File: InGameAdManager.h