C#-Class Library with MonoBehaviour-Scripts: Show Namespace-Folders in Unity

Hello Community,

I am currently building a custom Project-Architecture for a game that I am currently developing. I decided to use the C#-Class Libraries and load them into my unity project. This works well, but there is one thing that I don’t like at all.

I am using the newest unity version which as far as i know allows us to use namespaces even for C#-Classes which are Scripts (using MonoBehaviour). In the image i attached you can see how it looks like in Unity (left side) and how in Visual Studio (right side).

So my question is, is it possible to show the namespace folders like in our case “Audio” etc. in unity? I want it to look like in visual studio, so i can collapse the files in the folder.

Thank you for your help.

Greetings from Germany.

1241108--52998--$Unbenannt.png

I noticed that Google Chrome does not display the attached image… so here is a link to the image.

Welcome to the forums.

This is not possible in the project panel when you have a dll. But the scripts are structured by namespaces under Components->Scripts->…

Hello Dantus,

thank you for your quick reply! Wow, that’s cool. I guess i am fine with that.

Best regards
Voltaic