Example #1
0
    public AssetBundler Create(uint areaCategoyFixId, Action finish = null, Action fail = null)
    {
#if BUILD_TYPE_DEBUG
        Debug.Log("CALL AssetAutoSetEpisodeBackgroundTexture#Load:" + areaCategoyFixId);
#endif
        MasterDataAreaCategory master = MasterDataUtil.GetAreaCategoryParamFromID(areaCategoyFixId);
        int    background             = master == null ? 0 : master.background;
        string assetbundleName        = MasterDataUtil.GetMasterDataAreamapBackgroundName(background);

        return(Create(assetbundleName, finish, fail));
    }