1 Star 0 Fork 0

maxwell_k/UnityCsReference

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
UnityWebRequestMultimedia.cs 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
namespace UnityEngine.Networking
{
public static class UnityWebRequestMultimedia
{
public static UnityWebRequest GetAudioClip(string uri, AudioType audioType)
{
return new UnityWebRequest(uri, UnityWebRequest.kHttpVerbGET, new DownloadHandlerAudioClip(uri, audioType), null);
}
public static UnityWebRequest GetAudioClip(Uri uri, AudioType audioType)
{
return new UnityWebRequest(uri, UnityWebRequest.kHttpVerbGET, new DownloadHandlerAudioClip(uri, audioType), null);
}
[System.Obsolete("MovieTexture is deprecated. Use VideoPlayer instead.", true)]
public static UnityWebRequest GetMovieTexture(string uri)
{
return null;
}
[System.Obsolete("MovieTexture is deprecated. Use VideoPlayer instead.", true)]
public static UnityWebRequest GetMovieTexture(Uri uri)
{
return null;
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/maxwell_k/UnityCsReference.git
git@gitee.com:maxwell_k/UnityCsReference.git
maxwell_k
UnityCsReference
UnityCsReference
master

搜索帮助