Idea

garth avatar image
garth suggested

Assembly Definitions (.asmdef) to support Unity Package Manager

Hello!

Unity is working on their Unity Package Manager (UPM). They are starting to have support to allow us to make our own custom packages.
https://forum.unity.com/threads/git-support-on-package-manager.573673/


We would like to make our own package to share code between our projects. I'd like to do this with code that references PlayFab. However this requires referencing outside code through an assembly definition file (.asmdef). This is because UPM packages get compiled separately from the rest of the Assets folder.

Would it be possible to add a .asmdef file to the root of your SDK, and another one for editor scripts? This would allow our own UPM packages to reference PlayFab.

Thank you!

- Garth

unity3dsdks
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Comment

·
garth avatar image
garth commented

This may require moving Editor Scripts to a folder sibling to the Runtime scripts. I see this setup a lot in the new packages.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write a Comment

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.