Method GetAssetLoadPath
GetAssetLoadPath(Boolean)
The asset load path. This is used to determine the internal id of resource locations.
Declaration
public string GetAssetLoadPath(bool isBundled)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | isBundled | True if the asset will be contained in an asset bundle. |
Returns
| Type | Description |
|---|---|
| String | Return the runtime path that should be used to load this entry. |
GetAssetLoadPath(Boolean, HashSet<String>)
The asset load path. This is used to determine the internal id of resource locations.
Declaration
public string GetAssetLoadPath(bool isBundled, HashSet<string> otherLoadPaths)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | isBundled | True if the asset will be contained in an asset bundle. |
| HashSet<String> | otherLoadPaths | The internal ids of the asset, typically shortened versions of the asset's GUID. |
Returns
| Type | Description |
|---|---|
| String | Return the runtime path that should be used to load this entry. |