S
S
Sergey Klykov2015-07-06 21:36:46
Unity
Sergey Klykov, 2015-07-06 21:36:46

How to put two UI objects together?

I set the control for the FPS controller, the touchpad for controlling the camera closes the shoot button, when you start the game you can control the camera but it's impossible to shoot.
How to fix it so that you can control and shoot the camera?
Looks something like this
8aa9e3e08a85.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Basmanov, 2015-07-07
@DEMIGODDD

329ca38266a44763a75b3aa89b0903cd.gif
The order of transforms in the hierarchy determines the order in which elements are drawn. If you put the touchpad first, then all other buttons will be drawn on top of it. All this is explained in the official tutorial .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question