- Home /
UI Image Priority
Hello, So i've been following a tutorial on an inventory. It has worked great so far, but then i went to a part where a Small window should open and let me select a number of items to remove from the stack. Although it does appear, it appears BEHIND the slots of the inventory, therefore i can't click it nor see it. Is there a way to make it appear in front of my slots?
Answer by KdRWaylander · Aug 10, 2015 at 07:52 AM
Hi,
The lower in the hierarchy, the higher in the layers ! You can only interact with the upper layer.
You can use function like Transform.SetAsLastSibling() to help you manage this.
http://docs.unity3d.com/ScriptReference/Transform.SetAsLastSibling.html
Your answer
Follow this Question
Related Questions
Image texture error 1 Answer
Can we use unity4.6 UI Image to instantiate in multilayer environment ? 1 Answer
Image Gallery 2 Answers
how to swap image position 3 Answers
Ui scaling 1 Answer