Entitas
Entitas copied to clipboard
Show class short name for components in the hierarchy
It would be nice to show only the class name and not the full namespace in the component list of an entity in the hierarchy. With the short name, I would be able to see more components thant just the first one.
Same for console logs :
Can you make this value true in jenny.properties
and see if it makes difference and doesn't break something else?
Entitas.CodeGeneration.Plugins.IgnoreNamespaces = true
It's already to true.
Ok. So the problem is inside Entity.ToString
it was changed in some commit to improve visual debugging performance.
You can move component outside namespace, or modify Entity.ToString
and recompile Entitas.dll
I just adding ToString to all my components, sounds crude, but when you do it in new project - this is not a problem.
Yes, you can override ToString()
in the component to customize what's shown in the hierarchry