Organizing project structure and scripts

Hi guys,

I wrote an article on how to improve your project and codebase structure on my blog.

Take a look: appgoodies.net

Am I missing some obvious tips? :smile:

Thanks,

Elmar

1 Like

Looks good. Another thing that you could write about along the same lines (probably a different post) is organizing GameObject hierarchy. When you group things under parents and why and how to generally keep your hierarchy manageable.

2 Likes

Totally forgot about that! Thanks for the heads up :slight_smile:

Just added a few changes. What do you think? :smile:

1 Like

Looks good, I like it! It’s especially good for organizational dummies like me who obsess over this sort of thing and can’t ever figure out how I want to do it. :slight_smile:

2 Likes

You are not alone my friend.
Thanks for the article elmar. Nice one.

2 Likes

Thanks a lot! Glad it came in handy :smile:

Nice article for those who are new to subject.

I’ve seen whole projects that were botched or at least made very nasty to work with by bad organization of assets (but then again it’s just a side effect of bad management of production).

Some comments.

I noticed you mentioned you use this kind of structure yourself. But IMO I’d underline for readers that every project and different kind of content have different needs, so the structure and folders will change based on needs, but the concept is / remains the same.

In ā€œScriptsā€ you say ā€œunless it’s editor scriptā€ - I think Editor scripts can be anywhere, only that they should be contained inside folder called ā€œEditorā€. Out of special folders only WebPlayerTemplates needs to be at root of Assets.

2 Likes

Hi,

Thanks for a detailed feedback. I made changes to the article :slight_smile:

No mention of namespaces when it comes to organising code?

Didn’t thought of that one. I need to look into it myself :stuck_out_tongue: Thanks for letting me know