yasirkula / UnityIngameDebugConsole

A uGUI based console to see debug messages and execute commands during gameplay in Unity
MIT License
2.11k stars 221 forks source link

Always show asset in Editor. #23

Closed jespersmith closed 4 years ago

jespersmith commented 4 years ago

In Unity Editor 2020, packages are hidden by default and it is not possible to add the prefabs. This PR will show the package in the project again.

yasirkula commented 4 years ago

I haven't tested the package on Unity 2020 but the changelog says "If the package type is "tool" or "library", it will be hidden by default, otherwise it will be visible.". Since this package doesn't have a tool property, I'd expect it to be visible by default.

Did you test the package on Unity 2020 and see that it doesn't show up in the Project window, despite what the changelog says?

P.S. I've noticed that I was reading 2019.2's changelog but I couldn't find the changelog for this new change.

jespersmith commented 4 years ago

I use Unity 2020 and it seems to hide to package except if the package type is "sample" or "template". Which is usually a terrible type for my packages.

The most robust way I found to fix this is to just set hideInEditor to false.

yasirkula commented 4 years ago

Fair enough, thanks for the PR!