- Home /
Question by
SalwaRaion · Jun 01, 2021 at 04:09 PM ·
architecture
MVC in Unity with AssemblyDefinitions
Hello, if you want to achieve MVC or just separation of UI from Controller-logic how to set up projects dependancies? Lets say Controller is singleton manager, has its own AsmDef and UI is just another namespace with its own AsmDef. Should UI have dependancy on Controller (call logic via static singleton) or the other way around? Could we call such architecture MVC actually? Speaking of having dependancy on something i mean both refencing something in c# and referencing asmdef files of related namespaces.
Comment