Radial filling

I need radial filling for my game. In order to have a button with time completion. Is it possible to achieve it with UI Builder ?

For example, a button like this one :
7318996--888148--upload_2021-7-12_10-46-34.png

We don’t have any styling that allows to create radial visuals like this. You could create a VisualElement that generates a custom mesh to display the border. See VisualElement.GenerateVisualContent.

On 2022.1 we’re working on a vector API that could create an actual mesh border, but in the meantime a texture could work.

1 Like