示例#1
0
        protected override bool DoShowAd()
        {
            m_IsShowing = true;
            switch (m_AdInterface.adPosition)
            {
            case AdPosition.Bottom:
            case AdPosition.BottomLeft:
            case AdPosition.BottomRight:
                UPSDK.showBannerAdAtBottom(m_Config.unitID);
                break;

            case AdPosition.Top:
            case AdPosition.TopLeft:
            case AdPosition.TopRight:
                UPSDK.showBannerAdAtTop(m_Config.unitID);
                break;
            }
            return(true);
        }
 public void onBtnBanner_Bottom_Click()
 {
     UPSDK.showBannerAdAtBottom("sample_banner");
 }