ドキュメント

Unity Engine

Unity Engine

Contains(string)

Check if an AssetBundle contains a specific object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

name

The name of the object to look for.

Returns

Type

Description

boolTrue if an asset with the specified name is in the AssetBundle. Otherwise, false.

Remarks

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