23 lines
471 B
C#
23 lines
471 B
C#
|
|
using AlicizaX.Runtime;
|
|
|
|
namespace AlicizaX.Resource.Runtime
|
|
{
|
|
public interface ISetAssetObject : IReference
|
|
{
|
|
/// <summary>
|
|
/// 资源定位地址。
|
|
/// </summary>
|
|
string Location { get; }
|
|
|
|
/// <summary>
|
|
/// 设置资源。
|
|
/// </summary>
|
|
void SetAsset(UnityEngine.Object asset);
|
|
|
|
/// <summary>
|
|
/// 是否可以回收。
|
|
/// </summary>
|
|
bool IsCanRelease();
|
|
}
|
|
} |