Currently the Component
class has certain debug properties + methods, including
bool debugMode;
Color debugColor;
ValueCache<Paint> _debugPaintCache;
ValueCache<TextPaint> _debugTextPaintCache;
int? get debugCoordinatesPrecision;
Paint get debugPaint;
TextPaint get debugTextPaint;
void renderDebugMode(Canvas canvas);
This is a lot of expensive properties, especially since they are carried for every Component in the game, and are completely unused under normal circumstances.
Now, I do believe that having debug mode, debug capabilities, and debug convenience is very important. However, we should think how to accomplish the same without unnecessarily encumbering the regular use-case.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too