Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPM entry? #20

Open
gardyna opened this issue Oct 16, 2023 · 2 comments
Open

UPM entry? #20

gardyna opened this issue Oct 16, 2023 · 2 comments

Comments

@gardyna
Copy link

gardyna commented Oct 16, 2023

I am currently creating a package which includes a set of scenes for other projects to use. Those scenes have lottie animations. Due to Unity's limitation that packages can't have git dependencies (source: https://docs.unity3d.com/Manual/upm-git.html), I really need this in an importable format for that if possible

@gindemit
Copy link
Owner

Hello @gardyna, thank you for your interest in this plugin! Could you please provide additional details on how it would be convenient for you to use the plugin? Are you looking to specify this plugin in the "dependencies" of your package? If possible, could you also share some links where this is discussed?

@gilzoide
Copy link

gilzoide commented Feb 2, 2024

You know, you can actually declare a dependency on the com.gindemit.rlottie by version, it doesn't really matter if you install it using Git URLs, .tgz files or by downloading the package and extracting it inside the Packages folder.

Now, if you want the dependency to be installed automatically when installing the package that depends on it, you can instruct people to setup the OpenUPM scoped registry. Since this package is registered there (https://openupm.com/packages/com.gindemit.rlottie), it should be downloaded as a transitive dependency by Unity automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants