Version: 5.6

AssetDatabase.LoadMainAssetAtPath

Cambiar al Manual
public static Object LoadMainAssetAtPath (string assetPath);

Parámetros

assetPath Filesystem path of the asset to load.

Descripción

Returns the main asset object at assetPath.

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

See Also: AssetDatabase.LoadAssetAtPath, AssetDatabase.LoadAllAssetsAtPath.