Contains(string)
Check if an AssetBundle contains a specific object.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AssetBundleModule
public bool Contains(string name)
Parameters
The name of the object to look for.
Returns
Type | Description |
|---|---|
| bool | True if an asset with the specified name is in the AssetBundle. Otherwise, false. |
Remarks
Returns true if an Asset referred to by is contained in the AssetBundle, false otherwise.
name