AssetBundle.Contains Manual     Reference     Scripting  
Scripting > Runtime Classes > AssetBundle
AssetBundle.Contains

function Contains (name : string) : bool

Description

Check if an AssetBundle contains a specific object.

Returns true if an object referred to by name is contained in the AssetBundle, false otherwise.