GithubHelp home page GithubHelp logo

Comments (6)

issue-label-bot avatar issue-label-bot commented on August 17, 2024

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.62. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

from unity-addressable-importer.

favoyang avatar favoyang commented on August 17, 2024

@SujanDuttaMishra

Thanks for sharing your idea. If I understand correctly what you proposed is an importer's importer, by creating an intermediary per-folder setting file (the scriptable object) and use that file's inspector's save/remove buttons to sync with the main addressable importer setting file. This can be a pragmatic practice, what I don't like is that it may bring more inconsistent states because the per-folder importer is only one-way manually synced to the main importer. But it is a design decision.

I agree that add/find/modify the rules matched with the selected folder/files can be painful if you have many rules. Especially if you don't lock the inspector, and trying to click back and forth. I would prefer another approach:

  • implement the importer's inspector as a dedicated editor window, so you never have the issue to lose focus.
  • add a button to add a rule for your selected asset(s).
  • add a filter button to filter existing rules for selected assets(s).
  • Of course, this is won't happen recently until the next big UX focused release.

Again, thanks for sharing your idea.

from unity-addressable-importer.

SujanDuttaMishra avatar SujanDuttaMishra commented on August 17, 2024

Hello,
my idea is to have scriptable object in each folder that we want to register as addressable, that fills up the rule and post it to main script list too. in the code i have shared it all done and works fine , need a bit of optimization. major ease comes with this is we don't have to worry about filling in each entry manually, also if we are to share addressable with other project its much easier. in my case i have made a folder "AssetData" and within that folder i have sub and sub to sub folders tree, that holds various type of remote/local/ etc assets to be, this work as an extension to your project ,everything else goes via main code. just adding entry happens easier and almost automatic . give it a try .

from unity-addressable-importer.

favoyang avatar favoyang commented on August 17, 2024

Yeah, thanks for sharing the code, and that is basically what I described "intermediary per-folder setting file(s)". I'm not going to merge this, but I agree that it can be a pragmatic practice. If you'd like to organize the code base into another extension package you managed, I could add a link to README to mention it.

I will close it for now. But feel free to continue the conversation on this thread.

from unity-addressable-importer.

SujanDuttaMishra avatar SujanDuttaMishra commented on August 17, 2024

Thanks,
I will keep it as it now for if anyone stumbling can use it if they feel , will update code whenever i do something new.. For me i really need this method, as i have 1000s of asset, later as i go i will see if i can swap/have different catalog,populate from remote etc. i am not great at managing repo etc so i will just leave it like that.

from unity-addressable-importer.

favoyang avatar favoyang commented on August 17, 2024

Sounds good.

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.