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; }
Ad _GetAdInfo(AdvertisementID id) { return(advertisementInfo[id]); }