using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace ShadowStudio.Model { /// /// 美术资源的展示 /// public interface ArtPlay { /// /// 添加到容器中,模型,预制体,图片等加入到容器中展示 /// /// void AddToNode(UnityEngine.Object obj); /// /// 是否需要加载,有些资源无需加载,例如视频和UnityBase /// /// bool IsNeedLoad(); /// /// 是否需要实例化,图片无需实例化,加载可用 /// /// bool IsNeedInstance(); /// /// 创建容器 /// /// ArtContainer CreateContainer(); /// /// 初始化 /// /// void SetData(ArtInfo info,string containerName=""); } }