Asmdef
From 0.8.0+ rgs uses asmdef by default
Last updated
From 0.8.0+ rgs uses asmdef by default
Last updated
Learn more about asmdef at Unity's docs.
Asmdef has multiple advantages such as editor performance and code organization, which is the best practice and commonly used by official unity packages.
Since with asmdf setup, you cannot reference other code in other assemblies without asmdef directly (e.g. you wanted to modify rgs's scripts directly and referenced some code that is outside of the rgs assembly.)
There are few ways you can go about this
(Dirty way) Remove the two asmdef file
(Ok way) Add custom UnityEvent
or plain old c# event to hook up your custom logic if needed, so there won't be direct code reference in between.
(Best way) Have you custom code setup with asmdef, and reference your asmfef to rgs asmdef, this way you can properly reference your code inside rgs assembly.