Esempio n. 1
0
 public static void AddZoneToManager(string zoneKey, string zoneId, ADCVideoZoneTypeCustom videoZoneType)
 {
     zoneKey = zoneKey.ToLower();
     if (ContainsZoneKey(zoneKey))
     {
         //			Debug.LogWarning("The ad manager overwrote the previous video zoneId: " + GetZoneIdByKey(zoneKey) + " for the video zone named " + zoneKey + " with the new video zoneId of: " + zoneId);
     }
     else
     {
         //			Debug.LogWarning("The ad manager has added the video zone named " + zoneKey + " with the video zoneId of: " + zoneId);
         ADCAdManagerCustom.GetVideoZonesDictionary().Add(zoneKey, new ADCVideoZoneCustom(zoneId, videoZoneType));
     }
 }
Esempio n. 2
0
 public ADCVideoZoneCustom(string newZoneId, ADCVideoZoneTypeCustom newVideoZoneType)
 {
     zoneId   = newZoneId;
     zoneType = newVideoZoneType;
 }