Example #1
0
    public static Ad GetAdInfo(AdvertisementID id)
    {
        if (singleton == null)
        {
            Debug.LogError("AdManager_VS.GetAdInfo(" + id.ToString() + ") was called but singleton was null! Aborting.");
            return(new Ad());
        }

        return(singleton._GetAdInfo(id));
    }
 void GetAdInfo(AdvertisementID id)
 {
     currentAd   = AdManager_VS.GetAdInfo(id);
     player.clip = currentAd.video;
 }
Example #3
0
 Ad _GetAdInfo(AdvertisementID id)
 {
     return(advertisementInfo[id]);
 }