Table of Contents

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

local AssetCatalog

The local asset catalog.

remote AssetCatalog

The remote asset catalog.

Returns

bool

true if the remote catalog's build number is higher than the local catalog's build number; otherwise, false.