Esempio n. 1
0
    void Awake()
    {
        data = PersistentData.Instance;

        // get a reference to the Millenial Ads
        bannerAd = FindObjectOfType <AdMobScript>();
    }
	void Awake(){
		boardManager = (BoardManagerEuropean)FindObjectOfType(typeof(BoardManagerEuropean));
		data = PersistentData.Instance;

		// get a reference to the Millenial Ads
		bannerAd = FindObjectOfType<AdMobScript>();
		interstitialAd = FindObjectOfType<AdMobInterstitialScript>();

		// initialize the stats dictionary
		stats = new string[3];
		stats[2] = "threeLeft_euro";
		stats[1] = "twoLeft_euro";
		stats[0] = "oneLeft_euro";

	}
Esempio n. 3
0
 private void Awake()
 {
     Instance = this;
 }