M
M
Mimocodil2021-12-21 10:22:32
Unity
Mimocodil, 2021-12-21 10:22:32

How can I make the texture fill around the circle?

In the character panel, you need to make a similar panel for gaining experience (around the level number). Here's an example below:
61c179d7df730044949869.png

The solution I'm currently using is a thin sprite in the picture with an anchor in the center of the character panel. Duplicate pictures with Z + 1 ° rotation. In the code, I will massively turn these pictures on and off, thus simulating the process of filling the circle.

Question - is there a simpler/better solution?

61c17fcb30be3517779321.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2021-12-21
@Ezekiel4

But what for when Image has built-in filling on a circle. Change ImageType

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question