Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Custom Drawables to define their own tabs in the Draw Visualizer #4169

Open
LeNitrous opened this issue Jan 24, 2021 · 3 comments
Open

Comments

@LeNitrous
Copy link
Contributor

What I refer to is in the right side where there are tabs named "Properties" and "Transforms". This would greatly help debugging and knowing the current state of drawables with complex logic and custom drawing.
image

@peppy
Copy link
Member

peppy commented Jan 24, 2021

This is out of scope for us to implement, but if you are willing to implement it yourself in a simple way, we can probably get it merged.

It's also unclear what you expect here – sounds like you want to view more than just text (you can already see every property in detail on drawvis after all).

If not, you may find it easier to use:

Logger
ToString (will already show in drawvis property list)
Make your own debug overlay for your components.

@LeNitrous
Copy link
Contributor Author

Pardon for being unclear. What I was suggesting was add an attribute that can be attached to a method or a virtual method to Drawable and let the drawvis find it and add components to itself, namely additional tabs in the inspector (akin to Unity Engine's editor tools in a way).

I'll see if I can manage to make a pull request for this.

@peppy
Copy link
Member

peppy commented Jan 24, 2021

No idea how this is different from the existing view. You just want stuff separated out to make it easier to find or something? So it could just be grouping instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants