Пример #1
0
    // Use this for initialization
    void Start()
    {
        for (int i = 0; i < 2; i++)
        {
            data = EaFile.Open <TestData> (true);
        }

        EaMobile.Initialize(Mobile.Advertisement, Mobile.Leaderboard);
        EaAdvertisement.Create(AdType.BANNER_TOP, AdType.BANNER_BOTTOM, AdType.INTERSTITIAL);
    }
Пример #2
0
 void OpenOrCreateData()
 {
     data  = EaFile.Open <DataDemo> ();
     data1 = EaFile.Open <DataDemo> ("anotherData");
 }