예제 #1
0
    public AssetRequest Load(EAssetProcessFlag assetType, string path, string extension)
    {
        string       realPath = GetRealPath(path, extension);
        AssetRequest request  = null;

        if (!m_kAssets.TryGetValue(path, out request))
        {
            request = new AssetRequest(realPath, assetType);
            m_kAssets.Add(path, request);
            request.SyncLoad();
        }

        return(request);
    }