AssetPathExists(string)
Check whether an asset exists at the given path in the database.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static bool AssetPathExists(string path)
Parameters
Path of the asset to check.
Returns
Type | Description |
|---|---|
| bool | Returns true if the asset exists, false if not. |