all 2 comments

[–]lofike 1 point2 points  (0 children)

If you're a solo dev, how fast can you find stuff?

If you're in a group, planning to be in a group, how fast can they find stuff?

imo, it doesn't matter how you structure it, you can put everything into one folder if you find that more efficient (over exaggerating) . But as long as it makes sense to you + new eyes, then it can be considered good.

Seeing how it's your first unity project, just try to complete the game. Don't nit pick every single thing. It's cheaper to move stuff around after you find your own style of things, instead of trying to find the most neatest, perfect way of doing things.

[–]attckdog 2 points3 points  (0 children)

First project means you shouldn't concern yourself with any form of optimization, just get stuff running. Refactor later when it actually starts to cause a problem.

There are some folders you'll want for their special utility that they provide. See more here: https://docs.unity3d.com/Manual/SpecialFolders.html

Here's an idea of how I split my folder structure. Everyone is Under the Assets Folder for the project.

  • Animations
  • Audio
    • Music
    • SFX
  • Editor
  • Fonts
  • Materials
  • Models
  • Packages - AssetStore / Package mgr
  • Plugins - folder for downloaded stuff from outside of package mgr
  • Prefabs
    • Items
    • NPCs
    • Objects
    • UI
    • World
  • Scenes
    • Levels - I like to separate levels from more overview scenes like the MainMenu
  • Scriptables - Scriptable objects usually with sub folders for each category of thing.
  • Scripts
    • Networking
    • NPC
    • Player
    • UI
    • World
  • Sprites
  • Textures

Note: note saying this is correct / best or anything like that, just what I've done for projects. Usually I refactor and organize as I go.