GithubHelp home page GithubHelp logo

Comments (7)

Mefodei avatar Mefodei commented on July 18, 2024 1

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.

from unity-addressable-importer.

favoyang avatar favoyang commented on July 18, 2024 1

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.

from unity-addressable-importer.

favoyang avatar favoyang commented on July 18, 2024

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?

from unity-addressable-importer.

Mefodei avatar Mefodei commented on July 18, 2024

Thx, i will try

from unity-addressable-importer.

Mefodei avatar Mefodei commented on July 18, 2024

Works fine :)

from unity-addressable-importer.

github-actions avatar github-actions commented on July 18, 2024

🎉 This issue has been resolved in version 0.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

from unity-addressable-importer.

favoyang avatar favoyang commented on July 18, 2024

@Mefodei, merged to master and released v0.7.0. The reimport-api branch is deleted.

from unity-addressable-importer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.