Search Unity

Resolved Unity Project Design At-Large

Discussion in 'Scripting Dev Blitz Day 2023 - Q&A' started by stonstad, Feb 22, 2023.

  1. stonstad

    stonstad

    Joined:
    Jan 19, 2018
    Posts:
    659
    I find that Unity is very agnostic to how solutions are built. For any given scripting problem, there are likely many different viable solutions.

    For large scale projects (i.e. thousands of MonoBehaviors) what are some best practices for keeping code organized and well structured?
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    I'm not the right person to answer this, but I did get some great resources from our partners in Accelerate Solutions at Unity (this group does custom contract game development).

    https://create.unity.com/ebook-improve-workflow
    https://resources.unity.com/games/create-code-style-guide-e-book
    https://docs.unity3d.com/Manual/best-practice-guides.html
    https://resources.unity.com/games/version-control-project-organization-best-practices-ebook

    Also (not Unity-specific, I guess): https://gameprogrammingpatterns.com/
     
  3. stonstad

    stonstad

    Joined:
    Jan 19, 2018
    Posts:
    659
    The Unity best practice guide, "Level Up Your Code with Game Programming Patterns" is excellent. It's familiar territory (SOLID principles, OOP) but it is refreshing to see it applied to Unity. Just what I was looking for and a terrific read. Thank you!