Пример #1
0
    public static void _showBanner()
    {
        AdmobVNTIS ab = (AdmobVNTIS)GameObject.Find("AdmobVNTISObject").GetComponent("AdmobVNTIS");

        if (ab != null)
        {
            ab.showBanner();
        }
    }
    public static void _showBanner()
    {
                #if UNITY_EDITOR
        Debug.Log("AdmobVNTIS._showBanner() called.");
        return;
                #endif

        if (instance != null)
        {
            instance.showBanner();
        }
    }
Пример #3
0
 public void ShowBanner()
 {
             #if BANNER
     my_banner.showBanner();
             #endif
 }
Пример #4
0
 void OnMouseDown()
 {
     x.showBanner();
     GetComponent <GUIText>().text = 0.3 * Screen.width + " " + 0.3 * Screen.height;
 }