unity-rlottie icon indicating copy to clipboard operation
unity-rlottie copied to clipboard

UPM entry?

Open gardyna opened this issue 2 years ago • 2 comments

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

gardyna avatar Oct 16 '23 14:10 gardyna

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?

gindemit avatar Dec 31 '23 14:12 gindemit

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.

gilzoide avatar Feb 02 '24 00:02 gilzoide