debugMode property
Returns whether this Component
is in debug mode or not.
When a child is added to the Component
it gets the same debugMode
as
its parent has when it is prepared.
Returns false
by default. Override it, or set it to true, to use debug
mode.
You can use this value to enable debug behaviors for your game and many
components will
show extra information on the screen when debug mode is activated.
Implementation
bool debugMode = false;