AssetDatabase.LoadMainAssetAtPath

static function LoadMainAssetAtPath (assetPath : String) : Object

Description

Returns the main asset object at assetPath.

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

See Also: AssetDatabase.LoadAssetAtPath, AssetDatabase.LoadAllAssetsAtPath