using EasyInject.Attributes;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AddressableAssets;
///
/// AB °ü¼ÓÔØÆ÷
///
[Component]
public class AddressableLoader : ISourceLoader
{
public void LoadByLabel(string label)
{
Addressables.LoadAssetAsync(label);
}
public void LoadPrefab(string address)
{
Addressables.LoadAssetAsync(address);
}
}