文档

Unity Engine

Download Unity

Unity Engine

GetHashForAssetBundle(string, out Hash128)

Extract the hash for the given AssetBundle.
阅读时间1 分钟最后更新于 22 天前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

GetHashForAssetBundle(string, Hash128)

public static bool GetHashForAssetBundle(string targetPath, out Hash128 hash)

Parameters

targetPath

The path to the asset bundle.

hash

Hash128
The resulting hash of the asset bundle.

Returns

Type

Description

boolTrue if the method successfully reads the manifest file and extracts the hash value. Otherwise, false.