I want to get an update roughly every LateUpdate() from my game and update some value inside my custom UI Elements editor. (Specifically, the current frame number of the game).
What is the best practice to subscribe to ‘end of frame’ updates from Unity? In IMGUI, I would just update the value immediately, but this no longer makes sense since it doesn’t run every frame.