Enum BannerPosition
An enum representing the on-screen anchor position of the banner ad.
Namespace: UnityEngine.Advertisements
Syntax
public enum BannerPosition
Fields
Name | Description | Value |
---|---|---|
TOP_LEFT | Anchor the banner in the top-left corner of the screen. |
0 |
TOP_CENTER | Anchor the banner in the top-center of the screen. |
1 |
TOP_RIGHT | Anchor the banner in the top-right corner of the screen. |
2 |
BOTTOM_LEFT | Anchor the banner in the bottom-left corner of the screen. |
3 |
BOTTOM_CENTER | Anchor the banner in the bottom-center of the screen. |
4 |
BOTTOM_RIGHT | Anchor the banner in the bottom-right corner of the screen. |
5 |
CENTER | Anchor the banner in the center of the screen. |
6 |