scripts
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace UnityEngine.Networking
|
||||
{
|
||||
// Token: 0x0200029B RID: 667
|
||||
public static class UnityWebRequestTexture
|
||||
{
|
||||
// Token: 0x06002D5B RID: 11611 RVA: 0x00040318 File Offset: 0x0003E518
|
||||
public static UnityWebRequest GetTexture(string uri)
|
||||
{
|
||||
return UnityWebRequestTexture.GetTexture(uri, false);
|
||||
}
|
||||
|
||||
// Token: 0x06002D5C RID: 11612 RVA: 0x00040334 File Offset: 0x0003E534
|
||||
public static UnityWebRequest GetTexture(string uri, bool nonReadable)
|
||||
{
|
||||
return new UnityWebRequest(uri, "GET", new DownloadHandlerTexture(!nonReadable), null);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user