/// <summary> /// 卸载资源。 /// </summary> /// <param name="asset">要卸载的资源。</param> public void UnloadAsset(object asset) { if (asset == null) { throw new GameFrameworkException("Asset is invalid."); } if (m_ResourceLoader == null) { return; } m_ResourceLoader.UnloadAsset(asset); }
public void UnloadAsset(object asset) { m_ResourceLoader.UnloadAsset(asset); }