In my scene, I have a Slider object (which is the child of a Canvas) that is continuously following my player (in every frame). The Slider is the only child of this canvas. However, I read that changing UI components every frame can cause the canvas to be continuously re-built, which is very bad for performance.
The solution I have in mind is instead of making the slider follow the player, I’m gonna make the whole canvas follow the player (for which I will have to make it a World Space canvas). But would this make any difference? Would the canvas still be re-built if I changed its position every frame?