Class DefaultAssetCatalogComparer
- Namespace
- TAssetBundle
- Assembly
- TAssetBundle.dll
Default implementation of IAssetCatalogComparer. Compares asset catalogs based on their build numbers.
public class DefaultAssetCatalogComparer : IAssetCatalogComparer
- Inheritance
-
DefaultAssetCatalogComparer
- Implements
- Inherited Members
Methods
IsRemoteHigh(AssetCatalog, AssetCatalog)
Determines whether the remote asset catalog has a higher version than the local catalog.
public bool IsRemoteHigh(AssetCatalog local, AssetCatalog remote)
Parameters
localAssetCatalogThe local asset catalog.
remoteAssetCatalogThe remote asset catalog.
Returns
- bool
trueif the remote catalog's build number is higher than the local catalog's build number; otherwise,false.