Exemplo n.º 1
0
 public void Load()
 {
     // first load all constant data from XML's
     GameData.Load();
     // next load writable user data from PlayerPrefs
     Settings.Load();
 }
Exemplo n.º 2
0
    public void Load()
    {
        // first load all constant data from XML's
        GameData.Load();
        // next load writable user data from PlayerPrefs
        Settings.Load();

#if (PUBLISHING_PLATFORM_AMAZON)
        Settings.User.NoAds = true;
#endif
        Ads = gameObject.AddComponent <ZagravaAdsManager>();
        Ads.InitAds();

#if (PUBLISHING_PLATFORM_GOOGLE_PLAY || PUBLISHING_PLATFORM_APPSTORE)
        gameObject.AddComponent <Purchaser>();
#endif
    }
Exemplo n.º 3
0
 public void Load()
 {
     Settings.Load();
     Loaded = true;
 }