Premium Offers
The Premium Widget is a UI element that becomes available after SDK initialization. It is independent of the SDK itself and can be dragged into any Canvas within your application.
The Premium Widget provides seamless access to various offerwall features:
More Offers – Opens the full offerwall.
Active Offers – Displays active offers.
Campaign record - Open the page with campaign details.
Play – Activate campaign and redirects users to the store.
This widget enhances user engagement by integrating smoothly within your game's UI.
Available Widget Style options
The widget style is set via the visualizationType property of the PremiumWidget component on the PremiumWidget prefab.
The default style is PremiumWidgetVisualizationType.ListView, which displays the offers in a list.
Other available style is PremiumWidgetVisualizationType.SlideCards, which displays the offers in a cards slider.
You can also toggle the widget’s visibility in code during run time:
TyrSDKPlugin.Instance.SetPremiumWidgetStyle(visualStyle); //where visualStyle is PremiumWidgetVisualizationType.ListView or PremiumWidgetVisualizationType.SlideCards

Setting Up the Premium Widget
To integrate the Premium Widget into your application, navigate to PremiumWidget prefab:
Packages/com.tyrads.unity/Runtime/Prefabs/PremiumWidget/PremiumWidget.prefabDrag the PremiumWidget prefab into Canvas on your scene.
Game UI with integrated Premium Widget:

Last updated