AssetDatabase.LoadMainAssetAtPathstatic function LoadMainAssetAtPath (assetPath : String) : ObjectDescriptionReturns 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 |
