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"; }
private void Awake() { Instance = this; }