Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Assembly Definitions

Discussion in 'Open Projects' started by stroibot, Jul 26, 2021.

  1. stroibot

    stroibot

    Joined:
    Feb 15, 2017
    Posts:
    92
    So, Assembly Definitions are one of the Unity's features. It is recommended to use them to keep your code organized and it will also help with compilations times on big projects, etc. So, I was wondering, is this Open Project viable to use this feature? How big should the project be to use them? I remember that I tried using them but it conflicted with third party libraries and so on. Is this something that you might explore in Open Project?
     
    cirocontinisio likes this.
  2. cirocontinisio

    cirocontinisio

    Joined:
    Jun 20, 2016
    Posts:
    884
    We might introduce them, maybe after "release".

    Technically we should have done it from the beginning, however it's hard to do it in a project that is completely open and where ultimately we can set rules, but enforcing those rules is a task that falls on us (the maintainers of the repo) and only translates in more work.
    The code in OP is not so much to really benefit hugely from having asmdef files.

    But again, maybe we'll introduce them at the end just to show their usage.
     
    stroibot likes this.