Tag: design-pattern
-
Oct 17, 2016
Services and configuration assets for Unity projects
With many of the projects that I have worked on it has been necessary to support a variety of build targets that are either configured differently or make use of entirely different services. In early projects I would simply use the various symbols that Unity defines such as
UNITY_ANDROID
but this falls short when supporting multiple Android based platforms. Not to mention dealing with projects that contain multiple reskins of the same core game each with a range of different platforms. -
Sep 25, 2016
Separation of concerns with Unity UI
I have worked with various interpretations of MVC-like patterns over the years and have experimented a lot with applying them to UIs in Unity. The patterns that I found to work best with nGUI and uGUI are MVP (Model-View-Presenter) (passive view) and MVVM (Model-View-ViewModel).
-
Apr 21, 2011
Business process and data with MVC
I have been thinking about the general issues with the MVC and the Vespa concept Vespa: A better MVC. The idea of splitting the Model component has really helped me a lot with a project that I am working on.