Version: 2017.3

AssetDatabase.IsMainAssetAtPathLoaded

Cambiar al Manual
public static bool IsMainAssetAtPathLoaded (string assetPath);

Parámetros

assetPath Filesystem path of the asset to load.

Descripción

Returns true if the main asset object at assetPath is loaded in memory.

All paths are relative to the Project folder, for example: "Assets/MyTextures/hello.png".

See Also: AssetDatabase.LoadMainAssetAtPath, Resources.UnloadAsset.