Configuration options for displaying BannerView advertisements. This includes settings for banner position, size, and visibility behavior when the parent script is disabled. More...
Public Member Functions | |
| BannerAnchor | GetBannerAnchor () |
| BannerAnchor | GetBannerAnchor () |
| BannerAnchor | GetBannerAnchor () |
Public Attributes | |
| AdPosition | BannerPosition = AdPosition.Bottom |
| The placement location of the BannerView ad on the screen. Default is at the bottom. | |
| BannerSize | BannerSize = new(BannerSizeType.Adaptive) |
| The size configuration of the BannerView ad. This can be set to standard or adaptive sizes. | |
| CollapsibleBanner | CollapsibleBanner |
| Represents a collapsible banner that can be configured to appear at the top or bottom of the screen. Collapsible banner ads documentation. | |
| bool | HideOnDisable = true |
| Flag indicating whether the BannerView ad should be hidden automatically when the script or GameObject is disabled. | |
| LevelPlayBannerPosition | BannerPosition = LevelPlayBannerPosition.BottomCenter |
| The placement location of the BannerView ad on the screen. Default is at the bottom. | |
| bool | RespectSafeArea |
| Determines whether the banner ad respects the device's safe area. | |
| BannerType | Type |
| Specifies the type. | |
| int | InlineMaxHeight = 100 |
| Sets the maximum height for inline banners within the range of 30 to 300. | |
| int | Width = -1 |
| Specifies the width. | |
Configuration options for displaying BannerView advertisements. This includes settings for banner position, size, and visibility behavior when the parent script is disabled.
Definition at line 12 of file BannerOptions.cs.