Table of Contents

Class AssetBundleRuntimeInfo

Namespace
TAssetBundle
Assembly
TAssetBundle.dll

AssetBundle runtime information.

public class AssetBundleRuntimeInfo
Inheritance
AssetBundleRuntimeInfo
Inherited Members

Constructors

AssetBundleRuntimeInfo(IAssetCatalogInfo, AssetBundleInfo)

Constructor for AssetBundleRuntimeInfo.

public AssetBundleRuntimeInfo(IAssetCatalogInfo catalog, AssetBundleInfo assetBundleInfo)

Parameters

catalog IAssetCatalogInfo

The catalog to which this AssetBundle belongs.

assetBundleInfo AssetBundleInfo

The AssetBundle information.

Properties

AssetBundleName

The name of the AssetBundle.

public string AssetBundleName { get; }

Property Value

string

AssetPaths

A list of asset paths contained in this AssetBundle.

public string[] AssetPaths { get; }

Property Value

string[]

Builtin

Indicates whether the AssetBundle is built-in.

public bool Builtin { get; }

Property Value

bool

Catalog

The catalog information to which this AssetBundle belongs.

public IAssetCatalogInfo Catalog { get; }

Property Value

IAssetCatalogInfo

Dependencies

A list of runtime information for other AssetBundles that this AssetBundle depends on.

public AssetBundleRuntimeInfo[] Dependencies { get; }

Property Value

AssetBundleRuntimeInfo[]

Encrypt

Indicates whether the AssetBundle is encrypted.

public bool Encrypt { get; }

Property Value

bool

Hash

The hash value of the AssetBundle.

public Hash128 Hash { get; }

Property Value

Hash128

HashString

The hash string of the AssetBundle.

public string HashString { get; }

Property Value

string

ScenePaths

A list of scene paths contained in this AssetBundle.

public string[] ScenePaths { get; }

Property Value

string[]

Size

The size of the AssetBundle in bytes.

public long Size { get; }

Property Value

long

Tags

A list of tags applied to this AssetBundle.

public string[] Tags { get; }

Property Value

string[]

Uncompressed

Indicates whether the AssetBundle is uncompressed.

public bool Uncompressed { get; }

Property Value

bool

Methods

GetName(bool)

Returns the name of the AssetBundle.

public string GetName(bool withHash)

Parameters

withHash bool

Whether to include the hash value.

Returns

string

The AssetBundle file name.

GetNameWithTags()

Returns the name of the AssetBundle with tag information included.

public string GetNameWithTags()

Returns

string

The AssetBundle name with tags.