Open Zerokami opened 6 years ago
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.
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.