feat: support asset bundle

This commit is contained in:
2026-05-15 16:45:58 +08:00
parent f34145d4cf
commit 0823328d99
27 changed files with 390 additions and 8 deletions
@@ -0,0 +1,17 @@
using System;
using UnityEngine;
namespace OCES
{
public class ResourcesAssetProvider : IAssetProvider
{
public T Load<T>(string path) where T : UnityEngine.Object
{
return Resources.Load<T>(path);
}
public ResourceRequest LoadAsync<T>(string path) where T : UnityEngine.Object
{
return Resources.LoadAsync<T>(path);
}
}
}