I’ve found OnDrawGizmos() - is there any equivalent which is called every frame?
I’ve had a look here: Unity - Scripting API: MonoBehaviour
There is nothing obvious in the documentation and I’d rather not have to set up a coroutine or something strange to do this… I’m not even sure if that would work anyway due to the low quality of documentation in this area and the weird and wonderful implementation of coroutines.
(Also, Debug.Line seems to be dangling lines atm when I set the lifetime on them to anything. The value seems to not be respected… I’m fairly certain this used to work correctly given the nature of code I see using that function.)
EDIT: for the record a coroutine does not seem able to solve this… nothing seems to be drawn regardless of how I set one up
EDIT2: the lines don’t respect real time, they respect game time, so pausing the game allows them to pile up.