I’ m new in unity development, and I’m currently developing a memory card, but I want to put a image background inside canvas where my grid buttons are. But the image only stay in front buttons aren’t show.
Canvas UI in Unity uses hierarchy to sort draw order. So, if your background is further down in the hierarchy, it will appear on top of everything above it. If you want to change that, just change the order so that the background is further up the hierarchy.
Here’s an example, pretend these are UI canvas objects in the Unity hierarchy tab:
- I’m going to draw first, and end up layered behind
- I’m going to draw in front of 1 because I’m 2
- I’m going to draw in front of 1 and 2 because I’m higher than both!