1
This commit is contained in:
@@ -11,6 +11,10 @@ namespace BITKit.Mod
|
||||
|
||||
public static async UniTask<T> LoadAsset<T>(string location) where T : class
|
||||
{
|
||||
if (LoadAssetAsyncFactory is null)
|
||||
{
|
||||
throw new Exception("LoadAssetAsyncFactory is null!Make sure Processor has been initialized.");
|
||||
}
|
||||
foreach (var func in LoadAssetAsyncFactory.CastAsFunc())
|
||||
{
|
||||
var value = await func.Invoke(location);
|
||||
|
Reference in New Issue
Block a user