Files
FlowScope/Packages/com.flowscope.gamecore/Runtime/Resources/IResourceBackend.cs
2026-06-04 14:54:49 +08:00

19 lines
376 B
C#

using System.Threading;
using System.Threading.Tasks;
namespace FlowScope.Resources
{
public interface IResourceBackend
{
string Name { get; }
Task<T> LoadAsync<T>(
string key,
CancellationToken cancellationToken)
where T : class;
void Release<T>(string key, T asset)
where T : class;
}
}