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

Print information if exported Debug boolean is set to true in Inspecotr #29

Open
Zerokami opened this issue Aug 17, 2018 · 1 comment
Open
Labels
engineering Creative application of science, mathematical methods, and empirical evidence to a design feature A functionality that satisfies a requirement and represents a design decision important Great value; likely to have a big impact on the final product

Comments

@Zerokami
Copy link

Why not have a Debug boolean for plugin that prints useful information like state change and other info if Debug is true.

And maybe in the future even an array of strings with debug levels.

Depending on the debug level we print stuff about the actor.

@henriiquecampos
Copy link
Member

I dunno, technically this debugging is as easy as adding a label to the scene. All you need is to connect the state_changed signal to a Control and set the Label.text to the state you want to debug.

But sure, this would be a nice tool to have, as we always use it while developing. Although the approach should change to something like a tool script that adds such debugging to said class.

Maybe a export (bool) var debug can do the trick for now.

@henriiquecampos henriiquecampos added engineering Creative application of science, mathematical methods, and empirical evidence to a design feature A functionality that satisfies a requirement and represents a design decision important Great value; likely to have a big impact on the final product not-urgent labels Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engineering Creative application of science, mathematical methods, and empirical evidence to a design feature A functionality that satisfies a requirement and represents a design decision important Great value; likely to have a big impact on the final product
Projects
None yet
Development

No branches or pull requests

2 participants