static
def
LoadMainAssetAtPath(assetPath as string)
as Object
Description
Returns the main asset object at assetPath.
All paths are relative to the project folder. Like: "AssetsMyTextureshello.png"See Also: AssetDatabase.LoadAssetAtPath, AssetDatabase.LoadAllAssetsAtPath.