How to make Tower defence tower shooting range visible during game

I have Tower with circle collider2D and I want to make that circle visible when clicked on tower and while building (that doesn’t matter). I need that this visible area would change accordingly to collider.

Tau reikia pasidaryti paprasta permatoma paveiksliuka su apskritimu centre kaip sprite, tada prideti ji kiekvienam bokstui, ir enablinti/disablinti objekta kai reikia rodyti/slepti apskritima, o apskritimo dydis, tai atitinkamai keiti jo scale kiek reikia priklausomai nuo paveiksliuko dydzio, kai keiciasi colliderio spindulys.

( @startas has responded using Lithuanian the question that @Ramunas asked in English.)

Translating the answer into English:

You need to make a simple transparent picture with a circle in the center as a sprite, then add it to each tower, and enablinti / disablinti object when you need to show / hide the circles and circle size accordingly reposition its scale as needed depending on the image size when changing the radius Collider .

2 Likes

Don’t worry, he should understand what i said, his name is Lithuanian.

@startas , still this is an english forums and the answer could potentially help others, you know? :wink:

@Graham-Dunnett , thanks for the translation. I was wondering if this was a joke…:smile:

Yes, I know. But lots of Unity users might want to read your answer in English.