D
D
dark_spectator2019-01-02 03:04:47
C++ / C#
dark_spectator, 2019-01-02 03:04:47

The UI button is not clickable, what should I do?

There is a project in Unity, added a script to move the camera behind the Persian. After starting, the camera moves, but as soon as the Persian runs to the second platform, the jump button stops working. They are in canvas tied to the camera. Before adding the script, everything worked perfectly. I will attach a link to Google drive, the whole project is there. Many thanks in advance for your reply. When you go beyond a certain radius, all buttons stop working.
Google DRIVE

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dark_spectator, 2019-01-24
@dark_spectator

Solved a problem. I just took the Background and Foreground out of the canvas, and nothing blocked them, like in Z they are closest to the camera.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question