1
0

SkAdNetworkRemoteSource.cs 397 B

1234567891011121314151617
  1. using System.IO;
  2. using System.Net;
  3. using UnityEngine;
  4. namespace UnityEngine.Advertisements.Editor {
  5. internal class SkAdNetworkRemoteSource : ISkAdNetworkSource {
  6. public string Path { get; }
  7. public SkAdNetworkRemoteSource(string path) {
  8. Path = path;
  9. }
  10. public Stream Open() {
  11. return new WebClient().OpenRead(Path);
  12. }
  13. }
  14. }