using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ShadowStudio.Model
{
///
/// 美术资源实例化
///
public interface ArtInstance
{
///
/// 初始化资源
///
///
void SetData(ArtInfo info, string containerName = "");
///
/// 获取缩略图
///
///
Texture GetIcon();
void GetIcon(Action loadTex);
///
/// 同步加载资源
///
///
UnityEngine.Object LoadArt();
///
/// 异步加载资源
///
///
///
///
void LoadArtAsyn(string path, Action process, Action loaded);
///
/// 实例化对象
///
UnityEngine.Object InstanceArt();
ArtComponent InstanceComponent();
///
/// 是否已下载
///
///
bool IsDownLoad();
void DownLoad(Action downProcess, Action downComplete);
float DownProcess { get; set; }
}
}