I want to ignore imported content in my git repo, and instead, run a script to import them when they are missing. Is this possible?
AssetDatabase.ImportPackage().
You can grab the package from the Asset Store cache folder.
1 Like
Thanks. Is there a way of downloading it?
Also, how can I identify the package, it appears this method wants a path.
You could scan the cache folder or grab info from the store site perhaps. Maybe look at how assets like Grab Yer Assets does it.
1 Like