using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ShadowStudio.Model
{
///
/// 美术资源的组件接口
/// 组件依附于容器,并扩展容器的初始化接口
/// 组件可能是文本,视频窗口,图片容器等等
///
public interface ArtComponent
{
///
/// 初始化容器
///
///
///
void SetContainer(ArtContainerHandler container,UnityEngine.Object art, ArtInfo info);
///
/// 容器的同步
///
///
///
void TransferSyn(GoodsInfo goods, bool smooth = true);
///
/// 发送同步状态
///
///
///
void SendTransfer(int state, int status);
///
/// 获取组件的实例
///
///
GameObject GetInstace();
void DestroyArt();
}
}