Y
Y
yraiv2022-01-30 14:42:01
Unity
yraiv, 2022-01-30 14:42:01

How can I make it impossible to click on an inactive object?

I have 2 2d objects. The first is the game 2d tower object itself, and the second is its radius (just a round sprite). I turn the script on and off when I click (via setactive) on my tower its radius, but! if you click on the radius when it is turned off, then it also becomes active, what to do?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question