Closed Mefodei closed 4 years ago
Hi @Mefodei,
I assume you mean to make "Assets/AddressablesImporter: Check Folder(s)" publicly available? That method only works for the current selection. Is that suitable for your case?
Hi I'm looking for API method, that takes project folder as parameters and apply reimport action. For example it can be all rules folders from asset Addressables Import Settings Rules.
That makes sense to me.
I have prepared a branch with a reimport API, which requires an array of folder asset paths. An asset path is a string starts with "Assets". E.g. to process the whole Assets folder (this can be slow depends on the number of assets).
AddressableImporter.FolderImporter.ReimportFolders(new string[] { "Assets" });
To test it, switch your lib to this Git URL.
{
"dependencies": {
"com.littlebigfun.addressable-importer": "https://github.com/favoyang/unity-addressable-importer.git#reimport-api"
}
}
Let me know if this works for you, then I will merge back to the master branch.
Thx, i will try
Works fine :)
:tada: This issue has been resolved in version 0.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
@Mefodei, merged to master and released v0.7.0
. The reimport-api branch is deleted.
Hello there. I try to call package API "Reimport Addressable Group (Check Folders)" on Project Build Execution step. But all general static functions is private. Could you allow use Common method of your package as public API?