void Start()
 {
     //Money = 1000;
     gameState = GameStates.Menu;
     SoundManager();
     GoogleAdmob.RequestBanner();
     GoogleAdmob.RequestInterstitial();
 }
Пример #2
0
 void Start()
 {
     StartCoroutine(start());
     GoogleAdmob.RequestBanner();
     GoogleAdmob.RequestInterstitial();
     if (GoogleAdmob.bannerView != null)
     {
         GoogleAdmob.bannerView.Show();
     }
 }
Пример #3
0
    void Start()
    {
        AudioControl.DPlayMusicInstance("Nhac menu", true, true);
        if (GoogleAdmob.interstitial.IsLoaded())
        {
            GoogleAdmob.ShowInterstitial();
        }
        GoogleAdmob.RequestBanner();
#if UNITY_ANDROID && !UNITY_EDITOR
        if (CheckPackage.check())
        {
            Debug.Log("---------------APP HACK CMNR--------------------");
            MobilePlugin.getInstance().ShowToast("HACK CMNR");
            Application.Quit();
        }
        else
        {
            //MobilePlugin.getInstance().ShowToast("-------------APP KO HACK------------");
        }
#endif
    }