Version: 2019.3

AssetDatabase.IsMainAssetAtPathLoaded

Switch to Manual
public static bool IsMainAssetAtPathLoaded (string assetPath);

Parameters

assetPath@param assetPath Путь файловой системы ассета для загрузки.

Description

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.