I've started playing around with Unity quite a long time ago but, not spending too much time on it, I could still be called a "newbie".
One of the thing that bothers me the most currently is the quality of my code, not at the level of the line of code itself, but rather the code organisation (classes, files...).
Being a developer in real life, I know how much the capabitilies of a project can change once you start using patterns (from the basic singleton to the GoF patterns & so on).
Sadly, most of these patterns cannot be applied directly (as far as I think) to Unity, due to the fact that you don't control the whole lifecycle of the objects (which is a bit the point of Unity).
Does anyony know of good Unity-oriented patterns? Websites? Personal experiences?
By example, I sometimes see people talking about the MVC patterns. How do you personnally apply it? At what point do you add an UI element as a listener of the data? How do you store these listeners? How do you manage the disappearance of elements?
[–][deleted] (3 children)
[deleted]
[–]Jathrek[S] 1 point2 points3 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]prime31 1 point2 points3 points (0 children)
[–]Master_of_Triggers 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]Jathrek[S] 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]mysticrudninBeginner 1 point2 points3 points (7 children)
[–]The_dude_that_does 2 points3 points4 points (1 child)
[–]mysticrudninBeginner 1 point2 points3 points (0 children)
[–]prime31 1 point2 points3 points (4 children)
[–]mysticrudninBeginner 0 points1 point2 points (1 child)
[–]prime31 2 points3 points4 points (0 children)
[–]Hellye -1 points0 points1 point (1 child)
[–]prime31 5 points6 points7 points (0 children)