
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
18 lines
397 B
C#
18 lines
397 B
C#
using System.IO;
|
|
using System.Net;
|
|
using UnityEngine;
|
|
|
|
namespace UnityEngine.Advertisements.Editor {
|
|
internal class SkAdNetworkRemoteSource : ISkAdNetworkSource {
|
|
public string Path { get; }
|
|
|
|
public SkAdNetworkRemoteSource(string path) {
|
|
Path = path;
|
|
}
|
|
|
|
public Stream Open() {
|
|
return new WebClient().OpenRead(Path);
|
|
}
|
|
}
|
|
}
|