1111
This commit is contained in:
15
Assets/04.AudioCore/RunTime/Abstract/IResources.cs
Normal file
15
Assets/04.AudioCore/RunTime/Abstract/IResources.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Cysharp.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Stary.Evo.AudioCore
|
||||
{
|
||||
public interface IResources
|
||||
{
|
||||
/// <summary>
|
||||
/// 加载音频资源
|
||||
/// </summary>
|
||||
/// <param name="path"></param>
|
||||
/// <returns></returns>
|
||||
UniTask<T> LoadAssetAsync<T>(string packageName, string assetName) where T : Object;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user