Table of Contents

Class AssetBundleInfo

Namespace
TAssetBundle
Assembly
TAssetBundle.dll

Class that stores information about an AssetBundle.

[Serializable]
public class AssetBundleInfo
Inheritance
AssetBundleInfo
Inherited Members

Fields

assetBundleName

The name of the AssetBundle.

public string assetBundleName

Field Value

string

assetPaths

A list of paths of assets contained in this AssetBundle.

public string[] assetPaths

Field Value

string[]

builtin

Indicates whether the AssetBundle is built-in.

public bool builtin

Field Value

bool

dependencies

A list of names of other AssetBundles that this AssetBundle depends on.

public string[] dependencies

Field Value

string[]

encrypt

Indicates whether the AssetBundle is encrypted.

public bool encrypt

Field Value

bool

hashString

The hash value of the AssetBundle.

public string hashString

Field Value

string

scenePaths

A list of paths of scenes contained in this AssetBundle.

public string[] scenePaths

Field Value

string[]

size

The size of the AssetBundle in bytes.

public long size

Field Value

long

tags

A list of tags applied to this AssetBundle.

public string[] tags

Field Value

string[]

uncompressed

Indicates whether the AssetBundle is uncompressed.

public bool uncompressed

Field Value

bool

Methods

GetFileName(bool)

Returns the file name of the AssetBundle.

public string GetFileName(bool withHash)

Parameters

withHash bool

Whether to include the hash value

Returns

string

The AssetBundle file name

ToString()

Returns the object information as a JSON string.

public override string ToString()

Returns

string

A JSON-formatted string