Example #1
0
        public AssetBundleResource GetAssetBundle(ref string strResourceName, LoadFinishDelegate callBack, object custumParam = null,
                                                  TaskPriority ePriority = TaskPriority.TaskPriority_Immediate, IResource.ResourceCacheLevel rcl = IResource.ResourceCacheLevel.ResourceCacheLevel_1)
        {
            ResourceManagerImpl mgr = GetMgr(IResource.EResourceType.EResourceType_AssetBundle);

            return((AssetBundleResource)mgr.GetResource(IResource.EResourceType.EResourceType_AssetBundle, ref strResourceName, callBack, custumParam, rcl, ePriority));
        }
Example #2
0
        public TextureResource GetTexture(ref string strResourceName, LoadFinishDelegate callBack, object custumParam = null,
                                          TaskPriority ePriority = TaskPriority.TaskPriority_Normal, IResource.ResourceCacheLevel rcl = IResource.ResourceCacheLevel.ResourceCacheLevel_1)
        {
            ResourceManagerImpl mgr = GetMgr(IResource.EResourceType.EResourceType_Texture);

            return((TextureResource)mgr.GetResource(IResource.EResourceType.EResourceType_Texture, ref strResourceName, callBack, custumParam, rcl, ePriority));
        }