unity3d-runtime-debug-draw
unity3d-runtime-debug-draw copied to clipboard
single file debuging DrawLine/DrawText/etc that works in both Scene/Game view, also works in built PC/mobile builds.
DrawText results in text drawing but it never vanishes on repaint, so I just have a white mush of text that I cant read. Why is that?
In 2018 and later (potentially 2017 as well, haven't tested) Unity has problems cleaning up the `RuntimeDebugDraw` object nested inside the hidden wrapper object when exiting play mode. For some...
(See issue #10) In 2018 Unity has problems cleaning up the `RuntimeDebugDraw` object nested inside the hidden wrapper object when exiting play mode. For some reason it complains about something...
This has to do with the fact that there isn't a check if the text is in front or behind the camera. This results in strange issues. The fix simply...
The the Unity Application is scaled to not 100% - either via Unity 2019's new UI Scaling preference or via the Operating system's display settings - The result of `camera.WorldToScreenPoint`...
Magically draw's a circle.