ドキュメント

Unity Engine

Unity Engine

AssetPathExists(string)

Check whether an asset exists at the given path in the database.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool AssetPathExists(string path)

Parameters

path

Path of the asset to check.

Returns

Type

Description

boolReturns true if the asset exists, false if not.