public void PlayAds(EAdsType type, string placementId) { this.curIndex = (int)type; IAdsTool ads; if (this.m_dicAds.TryGetValue(type, out ads)) { ads.PlayAds(placementId); } }
public void PlayAds(EAdsType type) { this.curIndex = (int)type; IAdsTool ads; if (this.m_dicAds.TryGetValue(type, out ads)) { ads.PlayAds(); } }