Possible to draw a filled circle 2D from code?

I need a circle to grow in size from small and over time can get really big, but I would prefer it not to become too low resolution for when you get closer. Is there any way at all to create a sprite that is a filled circle from code? Or should I just create different sized circles (256, 1024, 4096) and switch between them when it gets large?

Hi Firedan,

I think the best way to accomplish that would be to make an animation for the circle.
The quality of the sprite will determine the definition when it is big and you would need to have only one sprite.

Here I left you a really simple example I’ve made with the animation and using the sprite ‘Knob’ that already ships with Unity.

Hope it helps