Documentation

Unity Engine

Unity Engine

Contains(string)

Check if an AssetBundle contains a specific object.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AssetBundleModule
public bool Contains(string name)

Parameters

name

Returns

Type

Description

bool

Remarks

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