예제 #1
0
    /// <summary>
    /// 取消资源加载监听
    /// </summary>
    /// <param name="_type">资源类型</param>
    /// <param name="path">资源路径</param>
    /// <param name="call">要取消的回调函数</param>
    public void RemoveAsyncCallback(EAssetProcessFlag assetType, string path, System.Action <AssetRequest> call)
    {
        AssetRequest _entity = null;

        if (m_kAssets.TryGetValue(path, out _entity))
        {
            _entity.RemoveListener(call);
        }
    }