Game Development Reference
In-Depth Information
Let's now have a look at adding an image to our basic UIScene.
1.
Right-click again somewhere in an empty space, place a widget, and go for image
this ime, also near the top of the list. Again, move and expand the image frame it
creates. Noice how it covers up the text if you place over it. If you want the image
to appear behind the text, then you must give the text a higher priority.
2.
Right-click the image | Reorder Widget | Move to Botom :
3.
Next, assign an actual image to the frame. Select the image frame and in its
properies, navigate to Image | ImageComponent | StyleOverride | ImageRef . Add
a texture here:
And note that it must be a texture, not a material.
I applied a screenshot of the game and my test scene appears as shown in the
following screenshot:
 
Search Nedrilad ::




Custom Search