Small ResourceManager refactor, add ResourceSaver<T>.

This commit is contained in:
2024-01-21 20:24:53 +01:00
parent cfec5a59b1
commit 62e0e013f1
16 changed files with 215 additions and 54 deletions

View File

@@ -1,9 +1,8 @@
namespace DaggerFramework.Resources
{
public interface IResourceLoader
public interface IResourceLoader<T> where T : Resource
{
public IEnumerable<string> SupportedExtensions { get; }
public Type ResourceType { get; }
public Resource Load(string path);
public T Load(string path);
}
}