AdGui

Show Deprecated

Summary

Properties

Properties inherited from SurfaceGuiBaseProperties inherited from LayerCollectorProperties inherited from GuiBase2d

Events

Events inherited from GuiBase2d

Callbacks

Properties

Read Parallel

EnableVideoAds

Read Parallel

The property enables the AdGui to serve video ads.

FallbackImage

ContentId
Read Parallel
Read Only
Not Replicated
Read Parallel

Methods

Events

Callbacks

OnAdEvent

The callback function used to react to the AdGui events.

Parameters

eventInfo: Dictionary

Options table for the method:

  • PlayerId – The user ID of the player related to the ad event.
  • AdEventType – A Enum.AdEventType enum value describing the AdGui events.

Returns

Whether the callback has successfully reacted to the event.