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
IAssetCatalogInfoThe catalog to which this AssetBundle belongs.
assetBundleInfo
AssetBundleInfoThe AssetBundle information.
Properties
AssetBundleName
The name of the AssetBundle.
public string AssetBundleName { get; }
Property Value
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
Catalog
The catalog information to which this AssetBundle belongs.
public IAssetCatalogInfo Catalog { get; }
Property Value
Dependencies
A list of runtime information for other AssetBundles that this AssetBundle depends on.
public AssetBundleRuntimeInfo[] Dependencies { get; }
Property Value
Encrypt
Indicates whether the AssetBundle is encrypted.
public bool Encrypt { get; }
Property Value
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
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
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
Methods
GetName(bool)
Returns the name of the AssetBundle.
public string GetName(bool withHash)
Parameters
withHash
boolWhether 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.