/// <summary> /// 释放字典资源。 /// </summary> /// <param name="dictionaryAsset">要释放的字典资源。</param> public override void ReleaseDictionaryAsset(object dictionaryAsset) { m_ResourceComponent.Recycle(dictionaryAsset); }
/// <summary> /// 释放数据表资源。 /// </summary> /// <param name="dataTableAsset">要释放的数据表资源。</param> public override void ReleaseDataTableAsset(object dataTableAsset) { m_ResourceComponent.Recycle(dataTableAsset); }
/// <summary> /// 释放界面实例。 /// </summary> /// <param name="uiFormInstance">要释放的界面实例。</param> public override void ReleaseUIFormInstance(object uiFormInstance) { m_ResourceComponent.Recycle(uiFormInstance); DestroyObject(uiFormInstance as GameObject); }
/// <summary> /// 释放实体实例。 /// </summary> /// <param name="entityInstance">要释放的实体实例。</param> public override void ReleaseEntityInstance(object entityInstance) { m_ResourceComponent.Recycle(entityInstance); DestroyObject(entityInstance as GameObject); }
/// <summary> /// 释放声音资源。 /// </summary> /// <param name="soundAsset">要释放的声音资源。</param> public override void ReleaseSoundAsset(object soundAsset) { m_ResourceComponent.Recycle(soundAsset); }