/// <summary> /// 释放界面的预制体。 /// </summary> /// <param name="key">预制体的key</param> /// <param name="prefab">需要释放的预制体</param> public abstract void ReleaseViewPrefab(object key, AbstractView prefab);
public Element(object viewKey, AbstractView view) { ViewKey = viewKey; View = view; }