기술 자료

Unity Engine

Unity Engine

AssetPathExists(string)

Check whether an asset exists at the given path in the database.
읽는 시간 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.