GithubHelp home page GithubHelp logo

Comments (4)

gtoto007 avatar gtoto007 commented on August 17, 2024 1

Thank you for your answer.

I am thinking of adding a Dynamic Labels field. It will be an array of strings and each string label will support syntax such as group replacement.
For any dynamic label, if it does not exist, the label will be created, otherwise the reference to the existing label will be retrieved and added(or replaced) to the resource.

Even if this new feature will allow you to use existing labels, is it still correct that I leave support for the use of static labels in order not to create backwards compatibility problems?

from unity-addressable-importer.

favoyang avatar favoyang commented on August 17, 2024

I cannot remember why the importer didn't support dynamic labels in the first place. Maybe the label is not a popular way to attribute dynamic assets, so most people use dynamic groups with static labels.

Seems doable if it's possible to create a label programmatically. You take the dynamic groups (group replacement) as a reference for syntax and so on.

https://github.com/favoyang/unity-addressable-importer/blob/master/Documentation~/AddressableImporter.md#group-replacement

Notice that the importer has a labelMode to present whether a label is override-able after the first creation. For dynamic labels, it seems should be set to Replace.

from unity-addressable-importer.

favoyang avatar favoyang commented on August 17, 2024

Adding a new field to keep the backwards compatibility sounds good to me.

from unity-addressable-importer.

github-actions avatar github-actions commented on August 17, 2024

🎉 This issue has been resolved in version 0.10.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.