Firstborn/Library/PackageCache/com.unity.ads@3.7.5/Editor/Source/SkAdNetworkLocalSource.cs

18 lines
396 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
using System;
using System.IO;
using UnityEngine;
namespace UnityEngine.Advertisements.Editor {
internal class SkAdNetworkLocalSource : ISkAdNetworkSource {
public string Path { get; }
public SkAdNetworkLocalSource(string path) {
Path = path;
}
public Stream Open() {
return new FileStream(Path, FileMode.Open);
}
}
}