Search Unity

what are the default directory names for a default project?

Discussion in 'Editor & General Support' started by San_Holo, Mar 15, 2015.

  1. San_Holo

    San_Holo

    Joined:
    Sep 26, 2014
    Posts:
    152
    Hi...

    I was wondering about keeping my project nice and organized and thought I'd ask you guys what directory names you use for a typical project, for example 'scripts' yes all my scripts are there, 'Resources' for other things loading at run time or what-ever, 'Editor' is a default one and what about Sounds? Graphics? these are my names for directories, it doesn't matter does it for say sounds & graphics? I had a directory named PNG for those file types and one called 3D for geometry/models etc, I suppose it's up to the user how far you go...

    please advise and thanks
     
  2. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    3,038
    It depends on whether it's 2D or 3D, but I generally have Scripts, Scenes, GUI, Animations, Audio (with sub-folders for different categories), Prefabs and Models/Textures or Sprites directories. I never can decide on a system for shaders/materials. I'm tending towards Materials, with Shaders as a sub-directory. All third-party stuff is put inside a "3rd party" directory. I also apply tags liberally just for potential organisation via custom editor scripts. I don't actually use Resources much (yet?).

    I've made a package with empty directories for my layout, just because I'm lazy :)
     
    San_Holo likes this.
  3. Socrates

    Socrates

    Joined:
    Mar 29, 2011
    Posts:
    787
    Below are what I tend to use as a basis. Not all folders are in every project, of course. I add folders as I need them.

    For the subfolders, I divide by categories I see as logical to the project. Under Scripts I may have Player, Enemy, Camera, GameManager for instance. Under Meshes it's likely to be divided by character, like Ogre, Troll, Hero, and by environmental types, like Rocks, Trees, Dungeon, Castle.

    upload_2015-3-15_12-47-49.png
     
    San_Holo likes this.
  4. San_Holo

    San_Holo

    Joined:
    Sep 26, 2014
    Posts:
    152
    Thanks this'll be my defacto start up from now on, cheers